de.uni_paderborn.fujaba.fsa
Class FSABendLine

java.lang.Object
  extended byde.uni_paderborn.fujaba.basic.BasicIncrement
      extended byde.uni_paderborn.fujaba.fsa.FSAObject
          extended byde.uni_paderborn.fujaba.fsa.FSAContainer
              extended byde.uni_paderborn.fujaba.fsa.FSALine
                  extended byde.uni_paderborn.fujaba.fsa.FSABendLine
All Implemented Interfaces:
java.lang.Comparable, java.util.EventListener, ParentListener, java.beans.PropertyChangeListener, UniqueIdentifier
Direct Known Subclasses:
FSAPolyLine

public class FSABendLine
extends FSALine

FSABendLine: FSAObject for JBendlines

JBendLine is a Line with Bends attached to both ends, that handle the position of start- and endpoint of the line

Version:
$Revision: 1.16.2.2 $
Author:
$Author: fklar $
See Also:
JBendLine

Field Summary
static java.lang.String BEND_LOCATION
          No comment provided by developer, please add a comment to improve documentation.
 
Fields inherited from class de.uni_paderborn.fujaba.fsa.FSAObject
COLOR_BACKGROUND, COLOR_FOCUSED, COLOR_FOREGROUND, COLOR_SELECTED, DIMENSION, JCOMPONENT_CLIENT_PROPERTY, LOCATION, TRANSIENT_PROPERTIES_DEFAULT
 
Fields inherited from class de.uni_paderborn.fujaba.basic.BasicIncrement
dontUseAccessMethodsInThisClass
 
Constructor Summary
FSABendLine(LogicUnparseInterface incr, java.lang.String propName)
          Constructor for class FSABendLine
FSABendLine(LogicUnparseInterface incr, java.lang.String propName, javax.swing.JComponent parent)
          Constructor for class FSABendLine
FSABendLine(LogicUnparseInterface incr, java.lang.String propName, javax.swing.JComponent parent, javax.swing.JComponent comp)
          Constructor for class FSABendLine
 
Method Summary
protected  void applyProperties()
          load formerly saved location of start- and end-bend
protected  javax.swing.JComponent createJComponent()
          create empty JBendLine
 FSABend getEndBend()
          Get the endBend attribute of the FSABendLine object
 FSABend getStartBend()
          Get the startBend attribute of the FSABendLine object
 void removeYou()
          No comment provided by developer, please add a comment to improve documentation.
 void saveLocation()
          Saves location of start- and end-bend.
 void setEndBend(FSABend bend)
          Sets the endBend attribute of the FSABendLine object
 void setEndBend(JBend bend)
          Sets the endBend attribute of the FSABendLine object
 void setStartBend(FSABend bend)
          Sets the startBend attribute of the FSABendLine object
 void setStartBend(JBend bend)
          Sets the startBend attribute of the FSABendLine object
 
Methods inherited from class de.uni_paderborn.fujaba.fsa.FSALine
getEndPoint, getStartPoint, setEndPoint, setStartPoint
 
Methods inherited from class de.uni_paderborn.fujaba.fsa.FSAContainer
addToChildren, addToComponents, getChildConnector, getChildren, getComponents, getDefaultAttrName, getDefaultUpdaterClass, getFromChildren, getFromChildren, getFromChildren, getFromComponents, hasInChildren, hasInComponents, iteratorOfChildren, iteratorOfComponents, removeFromChildren, removeFromComponents, setBold, setItalic, setOpaque, sizeOfChildren, sizeOfComponents
 
Methods inherited from class de.uni_paderborn.fujaba.fsa.FSAObject
addAncestorListener, addComponentListener, addDimensionToUnparseInformation, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addParentListener, addPointToUnparseInformation, addPropertyChangeListener, addPropertyChangeListener, addToUpdater, addUnparseInformation, addVetoableChangeListener, createDefaultUpdater, dragByDelta, dragTo, findChildForProperty, findFSAObjectFromJComponent, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getASGInformation, getASGInformation, getBackground, getDiagramRoot, getDimensionFromUnparseInformation, getFont, getForeground, getFSAInterface, getFSAObjectFromJComponent, getFSAQualifier, getID, getJComponent, getJComponent, getLocation, getLocation, getLogic, getLogic, getLogicFromJComponent, getMaximumSize, getMinimumSize, getParent, getParentID, getParentOfJComponent, getPointFromUnparseInformation, getPreferredSize, getPropertyName, getQualifiedName, getQualifiedName, getSize, getUnparseInformation, hasInUpdater, initFSAProperties, initLocation, invalidate, isBold, isDelegated, isFocused, isItalic, isSelected, isTransientProperties, isUnderlined, isVisible, iteratorOfAncestorListeners, iteratorOfComponentListeners, iteratorOfFocusListeners, iteratorOfInputMethodListeners, iteratorOfKeyListeners, iteratorOfMouseListeners, iteratorOfMouseMotionListeners, iteratorOfPropertyChangeListeners, iteratorOfPropertyChangeListeners, iteratorOfUpdater, iteratorOfVetoableChangeListeners, parentChanged, propertyChange, removeAllFromUpdater, removeAllUnparseInformation, removeAncestorListener, removeComponentListener, removeFocusListener, removeFromUnparseInformation, removeFromUpdater, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeParentListener, removePointFromUnparseInformation, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, saveAdditionalFSAProperties, saveDimension, saveFSAProperties, setBackground, setDefaultProperties, setFocused, setFont, setForeground, setFSAInterface, setFSAObjectFromJComponent, setLocation, setLocation, setLogic, setParentOfJComponent, setPreferredSize, setPropertyName, setSelected, setTransientProperties, setUnderlined, setVisible, sizeOfUpdater, toString
 
Methods inherited from class de.uni_paderborn.fujaba.basic.BasicIncrement
compareTo, getID, getUniqueID, getUniqueID, isGenerated, lessUniqueId, readAttributes, readAttributes, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, resetClassInfos, resetFieldWriteMethods, setAttribValue, setAttribValue, setGenerated, setID, setUniqueId, writeAttributes, writeClassToStringBuffer, writeClassToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BEND_LOCATION

public static final java.lang.String BEND_LOCATION
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values
Constructor Detail

FSABendLine

public FSABendLine(LogicUnparseInterface incr,
                   java.lang.String propName)
Constructor for class FSABendLine

Parameters:
incr - No description provided
propName - No description provided

FSABendLine

public FSABendLine(LogicUnparseInterface incr,
                   java.lang.String propName,
                   javax.swing.JComponent parent)
Constructor for class FSABendLine

Parameters:
incr - No description provided
propName - No description provided
parent - No description provided

FSABendLine

public FSABendLine(LogicUnparseInterface incr,
                   java.lang.String propName,
                   javax.swing.JComponent parent,
                   javax.swing.JComponent comp)
Constructor for class FSABendLine

Parameters:
incr - No description provided
propName - No description provided
parent - No description provided
comp - No description provided
Method Detail

createJComponent

protected javax.swing.JComponent createJComponent()
create empty JBendLine

Overrides:
createJComponent in class FSALine
Returns:
No description provided

setStartBend

public void setStartBend(FSABend bend)
Sets the startBend attribute of the FSABendLine object

Parameters:
bend - The new startBend value

setStartBend

public void setStartBend(JBend bend)
Sets the startBend attribute of the FSABendLine object

Parameters:
bend - The new startBend value

getStartBend

public FSABend getStartBend()
Get the startBend attribute of the FSABendLine object

Returns:
The startBend value

setEndBend

public void setEndBend(FSABend bend)
Sets the endBend attribute of the FSABendLine object

Parameters:
bend - The new endBend value

setEndBend

public void setEndBend(JBend bend)
Sets the endBend attribute of the FSABendLine object

Parameters:
bend - The new endBend value

getEndBend

public FSABend getEndBend()
Get the endBend attribute of the FSABendLine object

Returns:
The endBend value

removeYou

public void removeYou()
No comment provided by developer, please add a comment to improve documentation.

Overrides:
removeYou in class FSAContainer

applyProperties

protected void applyProperties()
load formerly saved location of start- and end-bend

Overrides:
applyProperties in class FSAObject
See Also:
FSAObject.saveAdditionalFSAProperties()

saveLocation

public void saveLocation()
Saves location of start- and end-bend.

Overrides:
saveLocation in class FSAObject