Class EdgeEditComponent
java.lang.Object
org.graffiti.plugin.editcomponent.ValueEditComponentAdapter
org.graffiti.plugin.editcomponent.AbstractValueEditComponent
org.graffiti.plugin.editcomponent.GraphComponentEditComponent
org.graffiti.plugin.editcomponent.SingleGraphElementEditComponent
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.AbstractValueEditComponent
showEmptyFields inherited from interface org.graffiti.plugin.editcomponent.ValueEditComponent
EMPTY_STRING - 
Constructor Summary
Constructors Constructor Description EdgeEditComponent(Displayable disp)Constructs a newEdgeEditComponent. - 
Method Summary
Modifier and Type Method Description JComponentgetComponent()Returns theValueEditComponent'sJComponent.voidsetDisplayable(Displayable attr)Sets the displayable.voidsetGraphComponent()Sets the graph component selectable by this edit component.voidsetValue()Sets the value of theDisplayablespecified in theJComponent.Methods inherited from class org.graffiti.plugin.editcomponent.SingleGraphElementEditComponent
getCaption, setEditFieldValue, setGraphElementMethods inherited from class org.graffiti.plugin.editcomponent.GraphComponentEditComponent
postAttributeAdded, postAttributeChanged, postAttributeRemoved, preAttributeAdded, preAttributeChanged, preAttributeRemoved, transactionFinished, transactionStartedMethods inherited from class org.graffiti.plugin.editcomponent.AbstractValueEditComponent
getDisplayable, getShowEmpty, isEnabled, setEnabled, setShowEmptyMethods inherited from class org.graffiti.plugin.editcomponent.ValueEditComponentAdapter
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, setParameter, setValue 
- 
Constructor Details
- 
EdgeEditComponent
Constructs a newEdgeEditComponent.- Parameters:
 disp- DOCUMENT ME!
 
 - 
 - 
Method Details
- 
getComponent
Description copied from class:SingleGraphElementEditComponentReturns theValueEditComponent'sJComponent.- Specified by:
 getComponentin interfaceValueEditComponent- Overrides:
 getComponentin classSingleGraphElementEditComponent- Returns:
 - DOCUMENT ME!
 - See Also:
 ValueEditComponent.getComponent()
 - 
setDisplayable
Description copied from class:AbstractValueEditComponentSets the displayable.- Specified by:
 setDisplayablein interfaceValueEditComponent- Overrides:
 setDisplayablein classAbstractValueEditComponent- Parameters:
 attr- the object to connect to this component.
 - 
setGraphComponent
public void setGraphComponent()Sets the graph component selectable by this edit component. - 
setValue
public void setValue()Description copied from interface:ValueEditComponentSets the value of theDisplayablespecified in theJComponent. Should only change the value if the value is really different otherwise too many events will be sent.- See Also:
 ValueEditComponent.setValue()
 
 -