org.zaval.lw
Class LwFontPanel

java.lang.Object
  |
  +--org.zaval.util.ValidationObject
        |
        +--org.zaval.lw.LwCanvas
              |
              +--org.zaval.lw.LwPanel
                    |
                    +--org.zaval.lw.LwFontPanel
All Implemented Interfaces:
Drawable, java.util.EventListener, Layoutable, LayoutContainer, LwActionListener, LwComponent, LwContainer, TextListener, Validationable

public class LwFontPanel
extends LwPanel
implements LwActionListener, TextListener


Fields inherited from class org.zaval.lw.LwPanel
children
 
Fields inherited from class org.zaval.lw.LwCanvas
bits, height, insets, parent, psHeight, psWidth, skins, width, x, y
 
Fields inherited from class org.zaval.util.ValidationObject
isValidFlag
 
Constructor Summary
LwFontPanel()
           
 
Method Summary
 void actionPerformed(LwActionEvent e)
          Invoked when an action event occured.
 void addActionListener(LwActionListener l)
           
protected  LwLayout getDefaultLayout()
          Gets the default layout manager that is set with the container during initialization.
 java.awt.Font getSelectedFont()
           
 void removeActionListener(LwActionListener l)
           
 void setSelectedFont(java.awt.Font font)
           
 void textInserted(TextEvent e)
          Invoked when a new text has been inserted in the text.
 void textRemoved(TextEvent e)
          Invoked when a part of the text has been removed.
 void textUpdated(TextEvent e)
          Invoked when the text has been updated.
 
Methods inherited from class org.zaval.lw.LwPanel
add, add, calcPreferredSize, count, get, getLayoutOffset, getLwComponentAt, getLwLayout, indexOf, insert, insert, invalidate, paintOnTop, recalc, remove, remove, removeAll, setBackground, setLwLayout, setOpaque, toFront, updateCashedPs
 
Methods inherited from class org.zaval.lw.LwCanvas
canHaveFocus, getBackground, getBounds, getHeight, getInsets, getLocation, getLwParent, getOrigin, getPreferredSize, getSize, getViewMan, getVisiblePart, getWidth, getX, getY, hasFocus, isEnabled, isOpaque, isVisible, paint, repaint, repaint, requestFocus, setEnabled, setInsets, setLocation, setLwParent, setPSSize, setSize, setViewMan, setVisible, toString, update, validate, viewManChanged, vrp
 
Methods inherited from class org.zaval.util.ValidationObject
isValid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.zaval.lw.LwComponent
canHaveFocus, getLwParent, getViewMan, getVisiblePart, setEnabled, setLwParent, setViewMan, setVisible
 
Methods inherited from interface org.zaval.lw.Drawable
getBackground, getOrigin, isEnabled, isOpaque, paint, repaint, repaint, update
 
Methods inherited from interface org.zaval.util.Validationable
isValid, validate
 
Methods inherited from interface org.zaval.lw.Layoutable
getBounds, getHeight, getInsets, getLocation, getPreferredSize, getSize, getWidth, getX, getY, isVisible, setLocation, setSize
 

Constructor Detail

LwFontPanel

public LwFontPanel()
Method Detail

addActionListener

public void addActionListener(LwActionListener l)

removeActionListener

public void removeActionListener(LwActionListener l)

getSelectedFont

public java.awt.Font getSelectedFont()

setSelectedFont

public void setSelectedFont(java.awt.Font font)

actionPerformed

public void actionPerformed(LwActionEvent e)
Description copied from interface: LwActionListener
Invoked when an action event occured. The specified action event is passed to the method.
Specified by:
actionPerformed in interface LwActionListener
Following copied from interface: org.zaval.lw.event.LwActionListener
Parameters:
e - the specified action event.

textRemoved

public void textRemoved(TextEvent e)
Description copied from interface: TextListener
Invoked when a part of the text has been removed.
Specified by:
textRemoved in interface TextListener
Following copied from interface: org.zaval.data.event.TextListener
Parameters:
e - the text event.

textInserted

public void textInserted(TextEvent e)
Description copied from interface: TextListener
Invoked when a new text has been inserted in the text.
Specified by:
textInserted in interface TextListener
Following copied from interface: org.zaval.data.event.TextListener
Parameters:
e - the text event.

textUpdated

public void textUpdated(TextEvent e)
Description copied from interface: TextListener
Invoked when the text has been updated.
Specified by:
textUpdated in interface TextListener
Following copied from interface: org.zaval.data.event.TextListener
Parameters:
e - the text event.

getDefaultLayout

protected LwLayout getDefaultLayout()
Description copied from class: LwPanel
Gets the default layout manager that is set with the container during initialization. This implementation of the method returns LwRastLayout as the default layout manager, the layout manager is got as a static object by "layout.raster" key.
Overrides:
getDefaultLayout in class LwPanel
Following copied from class: org.zaval.lw.LwPanel
Returns:
a layout manager.


Copyright © Zaval Creative Engineering Group, 2000-2005.
http://www.zaval.org