|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.nite.nstyle.handler.NDisplayObjectHandler
net.sourceforge.nite.nstyle.handler.JComponentHandler
net.sourceforge.nite.nstyle.handler.GridPanelHandler
public class GridPanelHandler
Constructor Summary | |
---|---|
GridPanelHandler()
|
Method Summary | |
---|---|
void |
addChild(NDisplayObjectHandler child)
In an implementation-specific manner, add the supplied child NDisplayObjectHandler to this one. |
javax.swing.JComponent |
displayElement(ObjectModelElement e,
boolean selected)
Display this element on the user interface |
void |
insertDisplayElement(ObjectModelElement newElement,
ObjectModelElement parent,
int position)
Used to update the display after an addChild operation. |
void |
redisplayElement(ObjectModelElement e)
Used to refresh the display of an element on the screen after changes to textual content or attribute values on underlying xml |
void |
removeDisplayComponent(ObjectModelElement e)
Remove the on screen representation of an element once it has been removed from the object model |
java.awt.Color |
setUpBackgroundColour()
This needs it's own method for this, so it can set the internal panel to the background colour rather than the scroll pnae itself |
Methods inherited from class net.sourceforge.nite.nstyle.handler.JComponentHandler |
---|
addActionReference, getImage, getJComponent, registerAction, setImage, 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 |
Constructor Detail |
---|
public GridPanelHandler()
Method Detail |
---|
public java.awt.Color setUpBackgroundColour()
setUpBackgroundColour
in class JComponentHandler
public void addChild(NDisplayObjectHandler child)
NDisplayObjectHandler
NDisplayObjectHandler
to this one.
addChild
in class JComponentHandler
child
- The child to add.net.sourceforge.net.sourceforge.nite.nstyle.handler.NDisplayObjectHandler#addChild(net.sourceforge.net.sourceforge.nite.nstyle.handler.NDisplayObjectHandler)
public javax.swing.JComponent displayElement(ObjectModelElement e, boolean selected)
OutputComponent
displayElement
in interface OutputComponent
public void redisplayElement(ObjectModelElement e)
OutputComponent
redisplayElement
in interface OutputComponent
e
- The element which should have its representation refreshed.public void removeDisplayComponent(ObjectModelElement e)
OutputComponent
removeDisplayComponent
in interface OutputComponent
public void insertDisplayElement(ObjectModelElement newElement, ObjectModelElement parent, int position)
OutputComponent
insertDisplayElement
in interface OutputComponent
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |