org.graffiti.plugin.editcomponent
Class EdgeEditComponent

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.EdgeEditComponent
All Implemented Interfaces:
EventListener, AttributeListener, EdgeListener, GraphListener, NodeListener, TransactionListener, ValueEditComponent

public class EdgeEditComponent
extends SingleGraphElementEditComponent

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

See Also:
Edge, 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
EdgeEditComponent(Displayable<?> disp)
          Constructs a new EdgeEditComponent.
 
Method Summary
 JComponent getComponent()
          Returns the ValueEditComponent's JComponent.
 void setDisplayable(Displayable<?> attr)
          Sets the displayable.
protected  void setDispValue()
           
 void setGraphComponent()
          Sets the graph component selectable by this edit component.
 
Methods inherited from class org.graffiti.plugin.editcomponent.SingleGraphElementEditComponent
getCaption, setDispEditFieldValue
 
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

EdgeEditComponent

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

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.

setGraphComponent

public void setGraphComponent()
Sets the graph component selectable by this edit component.

Overrides:
setGraphComponent in class SingleGraphElementEditComponent

setDispValue

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


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