de.uni_paderborn.fujaba.fsa
Class FSAGrab

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.FSABend
                  extended byde.uni_paderborn.fujaba.fsa.FSAGrab
All Implemented Interfaces:
java.lang.Comparable, java.util.EventListener, ParentListener, java.beans.PropertyChangeListener, UniqueIdentifier
Direct Known Subclasses:
FSAEntryGrab

public class FSAGrab
extends FSABend

fsaObject for JGrab

A JGrab is a JBend that is attached to another JComponent and changes position with it.

Version:
$Revision: 1.19.2.2 $
Author:
$Author: fklar $
See Also:
JGrab, JBend

Field Summary
static java.lang.String ALIGNMENT
          No comment provided by developer, please add a comment to improve documentation.
static java.lang.String ORIENTATION
          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
FSAGrab(LogicUnparseInterface incr, java.lang.String propName)
          Constructor for class FSAGrab
FSAGrab(LogicUnparseInterface incr, java.lang.String propName, javax.swing.JComponent parent)
          Constructor for class FSAGrab
FSAGrab(LogicUnparseInterface incr, java.lang.String propName, javax.swing.JComponent parent, javax.swing.JComponent myJComponent)
          Constructor for class FSAGrab
 
Method Summary
protected  void applyProperties()
          No comment provided by developer, please add a comment to improve documentation.
protected  javax.swing.JComponent createJComponent()
          No comment provided by developer, please add a comment to improve documentation.
 FSAObject getTarget()
          get the target of the grab as FSAObject.
protected  void oldInitLocation(java.awt.Point point)
          Deprecated. kept to load old fprs
protected  void saveAdditionalFSAProperties()
          Saves the following additional properties: alignment:double, orientation:integer
 void saveAlignment()
          Saves the 'collapsed' information of this FSAGrab object.
 void saveLocation()
          No comment provided by developer, please add a comment to improve documentation.
 void saveOrientation()
          Saves the 'orientation' information of this FSAGrab object.
 boolean setTarget(FSAObject obj)
          set the target of the grab to the jComponent of obj.
 
Methods inherited from class de.uni_paderborn.fujaba.fsa.FSABend
getPoint, getUI, removeYou, setPoint, setUI
 
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, 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

ALIGNMENT

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

See Also:
Constant Field Values

ORIENTATION

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

See Also:
Constant Field Values
Constructor Detail

FSAGrab

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

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

FSAGrab

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

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

FSAGrab

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

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

createJComponent

protected javax.swing.JComponent createJComponent()
No comment provided by developer, please add a comment to improve documentation.

Overrides:
createJComponent in class FSABend
Returns:
No description provided

setTarget

public boolean setTarget(FSAObject obj)
set the target of the grab to the jComponent of obj.

Parameters:
obj - The new target value
Returns:
No description provided
See Also:
JGrab.setTarget(javax.swing.JComponent)

getTarget

public FSAObject getTarget()
get the target of the grab as FSAObject.

Returns:
FSAObject of target, or null if target has no FSAObject
See Also:
JGrab.setTarget(javax.swing.JComponent)

oldInitLocation

protected void oldInitLocation(java.awt.Point point)
Deprecated. kept to load old fprs

Parameters:
point - No description provided

applyProperties

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

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

saveLocation

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

Overrides:
saveLocation in class FSAObject

saveAdditionalFSAProperties

protected void saveAdditionalFSAProperties()
Saves the following additional properties: alignment:double, orientation:integer

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

saveAlignment

public void saveAlignment()
Saves the 'collapsed' information of this FSAGrab object.


saveOrientation

public void saveOrientation()
Saves the 'orientation' information of this FSAGrab object.