gumbo.visualize.data.impl.swing
Class SwingListEntry
java.lang.Object
|
+--gumbo.util.AbstractDisposable
|
+--gumbo.util.relation.AbstractTreeNodeDelegator
|
+--gumbo.graphic.space.AbstractSpaceNode
|
+--gumbo.graphic.impl.swing.SwingSpaceNode
|
+--gumbo.graphic.impl.swing.SwingShape
|
+--gumbo.visualize.data.impl.swing.SwingDataShape
|
+--gumbo.visualize.data.impl.swing.SwingListEntry
- All Implemented Interfaces:
- AxisBound3Boundable, AxisLayoutGraphic, BoundableGraphic, DataModelListener, Disposable, Graphic, GraphicGeometry, GraphicPresence, GraphicResource, GraphicView, InteractableGraphic, Interactor, IntersectableGraphic, java.io.Serializable, SpaceNode, TransformNode, TranslationNode
- public class SwingListEntry
- extends SwingDataShape
A default list entry implemented using a JTextField, which is automatically
updated with the associated model's String client data. Intended for use
with SwingListView, which controls layout.
- Version:
- $Revision: 1.1 $
- Author:
- Jon Barrilleaux (jonb@jmbaai.com) of JMB and Associates Inc.
- See Also:
- Serialized Form
Field Summary |
static java.awt.Color |
SEPARATOR_COLOR
Default entry separator color. |
static java.awt.Font |
TEXT_FONT
Default entry text font. |
Method Summary |
protected void |
implDispose()
Disposes the super, then self. |
void |
prepareGraphicPresence()
Informs this graphic entity that, in anticipation of realization,
it should update as needed those aspects of its graphic state
(geometry, appearance) and that of any dependents (siblings,
descendants) that can affect its presentation. |
void |
realizeGraphicPresence()
Informs this graphic entity that external (sibling, ancestor) and
internal (self, descendant) state changes that can affect its
presentation are complete and assumed valid, and that it should
update its presentation as needed to be consistent with its
graphic state. |
protected void |
updateFeedback()
Default implementation: Sets the background and foreground colors
of the graphic according to DataFeedback.INSTANCE.text???Color(). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TEXT_FONT
public static final java.awt.Font TEXT_FONT
- Default entry text font.
SEPARATOR_COLOR
public static final java.awt.Color SEPARATOR_COLOR
- Default entry separator color.
SwingListEntry
public SwingListEntry(PartView view)
updateFeedback
protected void updateFeedback()
- Default implementation: Sets the background and foreground colors
of the graphic according to DataFeedback.INSTANCE.text???Color().
- Overrides:
updateFeedback
in class SwingShape
prepareGraphicPresence
public void prepareGraphicPresence()
- Description copied from interface:
GraphicPresence
- Informs this graphic entity that, in anticipation of realization,
it should update as needed those aspects of its graphic state
(geometry, appearance) and that of any dependents (siblings,
descendants) that can affect its presentation.
Does not actually affect the presentation (see
realizeGraphicDisplay()). Allows for efficient batching of
graphic state changes.
- Specified by:
prepareGraphicPresence
in interface GraphicPresence
- Overrides:
prepareGraphicPresence
in class SwingSpaceNode
realizeGraphicPresence
public void realizeGraphicPresence()
- Description copied from interface:
GraphicPresence
- Informs this graphic entity that external (sibling, ancestor) and
internal (self, descendant) state changes that can affect its
presentation are complete and assumed valid, and that it should
update its presentation as needed to be consistent with its
graphic state. Allows for efficient batching of graphic state
realizations.
- Specified by:
realizeGraphicPresence
in interface GraphicPresence
- Overrides:
realizeGraphicPresence
in class SwingSpaceNode
implDispose
protected void implDispose()
- Disposes the super, then self.
- Overrides:
implDispose
in class SwingDataShape