Class ComboBoxEditComponent
java.lang.Object
org.graffiti.plugin.editcomponent.ValueEditComponentAdapter
org.graffiti.plugin.editcomponent.AbstractValueEditComponent
org.graffiti.plugin.editcomponent.ComboBoxEditComponent
- All Implemented Interfaces:
EventListener,AttributeListener,EdgeListener,GraphListener,NodeListener,TransactionListener,ValueEditComponent
- Direct Known Subclasses:
ArrowShapeEditComponent,EdgeArrowShapeEditComponent,EdgeShapeEditComponent,NodePathwayLinkVisualizationAttributeEditor,NodeShapeEditComponent,ObjectListComponent
public class ComboBoxEditComponent extends AbstractValueEditComponent
Displays a combo box to let the user choose from several possibilities.
- Version:
- $Revision: 1.9 $
-
Field Summary
Fields inherited from class org.graffiti.plugin.editcomponent.AbstractValueEditComponent
showEmptyFields inherited from interface org.graffiti.plugin.editcomponent.ValueEditComponent
EMPTY_STRING -
Constructor Summary
Constructors Constructor Description ComboBoxEditComponent(Displayable disp)Creates a new ComboBoxEditComponent object. -
Method Summary
Modifier and Type Method Description JComponentgetComponent()Returns theValueEditComponent'sJComponent.voidsetEditFieldValue()Sets the current value of theAttributein the correspondingJComponent.voidsetValue()Sets the value of the displayable specified in theJComponent.Methods inherited from class org.graffiti.plugin.editcomponent.AbstractValueEditComponent
getDisplayable, getShowEmpty, isEnabled, postAttributeChanged, preAttributeChanged, setDisplayable, setEnabled, setShowEmptyMethods inherited from class org.graffiti.plugin.editcomponent.ValueEditComponentAdapter
postAttributeAdded, postAttributeRemoved, postDirectedChanged, postEdgeAdded, postEdgeRemoved, postEdgeReversed, postGraphCleared, postInEdgeAdded, postInEdgeRemoved, postNodeAdded, postNodeRemoved, postOutEdgeAdded, postOutEdgeRemoved, postSourceNodeChanged, postTargetNodeChanged, postUndirectedEdgeAdded, postUndirectedEdgeRemoved, preAttributeAdded, preAttributeRemoved, preDirectedChanged, preEdgeAdded, preEdgeRemoved, preEdgeReversed, preGraphCleared, preInEdgeAdded, preInEdgeRemoved, preNodeAdded, preNodeRemoved, preOutEdgeAdded, preOutEdgeRemoved, preSourceNodeChanged, preTargetNodeChanged, preUndirectedEdgeAdded, preUndirectedEdgeRemoved, setParameter, setValue, transactionFinished, transactionStarted
-
Constructor Details
-
ComboBoxEditComponent
Creates a new ComboBoxEditComponent object.- Parameters:
disp- DOCUMENT ME!
-
-
Method Details
-
getComponent
Returns theValueEditComponent'sJComponent.- Returns:
- DOCUMENT ME!
-
setEditFieldValue
public void setEditFieldValue()Sets the current value of theAttributein the correspondingJComponent. -
setValue
public void setValue()Sets the value of the displayable specified in theJComponent. Probably not useful or overwritten by subclasses.
-