net.sourceforge.nite.nstyle.handler
Class TimedLabelHandler
java.lang.Object
net.sourceforge.nite.nstyle.handler.NDisplayObjectHandler
net.sourceforge.nite.nstyle.handler.JComponentHandler
net.sourceforge.nite.nstyle.handler.TimedLabelHandler
- All Implemented Interfaces:
- OutputComponent
public class TimedLabelHandler
- extends JComponentHandler
- implements OutputComponent
- Author:
- judyr
Methods inherited from class net.sourceforge.nite.nstyle.handler.JComponentHandler |
addActionReference, addChild, getImage, getJComponent, registerAction, setImage, setUpBackgroundColour, setUpFont, setUpForegroundColour, setUpImage, setUpToolTip |
Methods inherited from class net.sourceforge.nite.nstyle.handler.NDisplayObjectHandler |
addActionReference, getActionReferences, getChildren, getClock, getElement, getEndTime, getID, getParent, getSourceID, getStartTime, init, setChildren, setClock, setElement, setEndTime, setID, setParent, setSourceID, setStartTime, setUpTimes |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimedLabelHandler
public TimedLabelHandler()
displayElement
public javax.swing.JComponent displayElement(ObjectModelElement e,
boolean selected)
- Description copied from interface:
OutputComponent
- Display this element on the user interface
- Specified by:
displayElement
in interface OutputComponent
redisplayElement
public void redisplayElement(ObjectModelElement e)
- Description copied from interface:
OutputComponent
- Used to refresh the display of an element on the screen after changes to
textual content or attribute values on underlying xml
- Specified by:
redisplayElement
in interface OutputComponent
- Parameters:
e
- The element which should have its representation refreshed.
removeDisplayComponent
public void removeDisplayComponent(ObjectModelElement e)
- Description copied from interface:
OutputComponent
- Remove the on screen representation of an element once it has been
removed from the object model
- Specified by:
removeDisplayComponent
in interface OutputComponent
insertDisplayElement
public void insertDisplayElement(ObjectModelElement newElement,
ObjectModelElement parent,
int position)
- Description copied from interface:
OutputComponent
- Used to update the display after an addChild operation. Place the new
element "after" the positionth child of the parent element. After is
easily defined a tree component, but it is far less obvious how this
shoud be implemented for text areas.
- Specified by:
insertDisplayElement
in interface OutputComponent
- Parameters:
newElement
- The element which is to be insertedparent
- The parent of the element to be addedposition
- The index into the list of children belonging to the
parent