org.graffiti.plugin.editcomponent
Class NodeEditComponent

java.lang.Object
  extended by org.graffiti.plugin.editcomponent.ValueEditComponentAdapter
      extended by org.graffiti.plugin.editcomponent.AbstractValueEditComponent
          extended by org.graffiti.plugin.editcomponent.GraphComponentEditComponent
              extended by org.graffiti.plugin.editcomponent.SingleGraphElementEditComponent
                  extended by org.graffiti.plugin.editcomponent.NodeEditComponent
All Implemented Interfaces:
EventListener, AttributeListener, EdgeListener, GraphListener, NodeListener, TransactionListener, ValueEditComponent

public class NodeEditComponent
extends SingleGraphElementEditComponent

This class provides an edit component for selecting a single node.

See Also:
Node, SingleGraphElementEditComponent

Field Summary
 
Fields inherited from class org.graffiti.plugin.editcomponent.SingleGraphElementEditComponent
comboBox, ge
 
Fields inherited from class org.graffiti.plugin.editcomponent.AbstractValueEditComponent
editField, showEmpty
 
Fields inherited from class org.graffiti.plugin.editcomponent.ValueEditComponentAdapter
displayable, displayables
 
Fields inherited from interface org.graffiti.plugin.editcomponent.ValueEditComponent
EMPTY_STRING
 
Constructor Summary
NodeEditComponent(Displayable<?> disp)
          Constructs a new NodeEditComponent.
 
Method Summary
 JComponent getComponent()
          Returns the ValueEditComponent's JComponent.
 void setDisplayable(Displayable<?> attr)
          Sets the displayable.
protected  void setDispValue()
           
 
Methods inherited from class org.graffiti.plugin.editcomponent.SingleGraphElementEditComponent
getCaption, setDispEditFieldValue, setGraphComponent
 
Methods inherited from class org.graffiti.plugin.editcomponent.GraphComponentEditComponent
postAttributeAdded, postAttributeChanged, postAttributeRemoved, preAttributeAdded, preAttributeChanged, preAttributeRemoved, transactionFinished, transactionStarted
 
Methods inherited from class org.graffiti.plugin.editcomponent.AbstractValueEditComponent
addVECChangeListener, fireVECChanged, fireVECChanged, getDisplayable, getDisplayables, getShowEmpty, isEnabled, removeVECChangeListener, setDisplayables, setEditFieldValue, setEnabled, setShowEmpty, setValue
 
Methods inherited from class org.graffiti.plugin.editcomponent.ValueEditComponentAdapter
getErrorMessageOfInvalidParameter, isValid, postDirectedChanged, postEdgeAdded, postEdgeRemoved, postEdgeReversed, postGraphCleared, postInEdgeAdded, postInEdgeRemoved, postNodeAdded, postNodeRemoved, postOutEdgeAdded, postOutEdgeRemoved, postSourceNodeChanged, postTargetNodeChanged, postUndirectedEdgeAdded, postUndirectedEdgeRemoved, preDirectedChanged, preEdgeAdded, preEdgeRemoved, preEdgeReversed, preGraphCleared, preInEdgeAdded, preInEdgeRemoved, preNodeAdded, preNodeRemoved, preOutEdgeAdded, preOutEdgeRemoved, preSourceNodeChanged, preTargetNodeChanged, preUndirectedEdgeAdded, preUndirectedEdgeRemoved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeEditComponent

public NodeEditComponent(Displayable<?> disp)
Constructs a new NodeEditComponent.

Parameters:
disp - DOCUMENT ME!
Method Detail

getComponent

public JComponent getComponent()
Description copied from class: SingleGraphElementEditComponent
Returns the ValueEditComponent's JComponent.

Specified by:
getComponent in interface ValueEditComponent
Overrides:
getComponent in class SingleGraphElementEditComponent
Returns:
DOCUMENT ME!
See Also:
ValueEditComponent.getComponent()

setDisplayable

public void setDisplayable(Displayable<?> attr)
Description copied from class: AbstractValueEditComponent
Sets the displayable.

Specified by:
setDisplayable in interface ValueEditComponent
Overrides:
setDisplayable in class AbstractValueEditComponent
Parameters:
attr - the object to connect to this component.

setDispValue

protected void setDispValue()
Specified by:
setDispValue in class AbstractValueEditComponent
See Also:
ValueEditComponent.setValue()


Generated at 2012-05-30 11:00:36 PM CEST