de.uni_paderborn.fujaba.fsa
Class FSAResizeable

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.FSAPanel
                  extended byde.uni_paderborn.fujaba.fsa.FSAResizeable
All Implemented Interfaces:
java.lang.Comparable, java.util.EventListener, ParentListener, java.beans.PropertyChangeListener, UniqueIdentifier

public class FSAResizeable
extends FSAPanel

FSAResizeable.

Version:
$Revision: 1.19.2.1 $
Author:
$Author: fklar $

Field Summary
 
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
FSAResizeable(LogicUnparseInterface incr)
          Calls the constructor FSAPanel(incr, propName, parent) with propName = parent = null.
FSAResizeable(LogicUnparseInterface incr, javax.swing.JComponent parent)
          Calls the constructor FSAPanel(incr, propName, parent) with propName = null.
FSAResizeable(LogicUnparseInterface incr, java.lang.String propName, javax.swing.JComponent parent)
          Inherited constructor from FSAPanel.
FSAResizeable(LogicUnparseInterface incr, java.lang.String propName, javax.swing.JComponent parent, boolean transientProperties)
          Overwrites the constructor of FSAPanel.
 
Method Summary
 java.awt.Dimension getMaximumSize()
          Return maximum size of the component.
 java.awt.Dimension getMinimumSize()
          Return minimum size of the component.
 java.awt.Dimension getPreferredSize()
          Return the preferred size of the component
 java.awt.Dimension getSize()
          Return size of the component.
 java.awt.Dimension getUserSize()
          Get the size of this component set by the user
 void resize(int dx, int dy)
          Resizes this component.
 void setMaximumSize(java.awt.Dimension size)
          Sets the maximum size of this object.
 void setMinimumSize(java.awt.Dimension size)
          Sets the minimum size of this object.
 void setPreferredSize(java.awt.Dimension size)
          Reset the size of this component to the ui calculated size
 void setSize(java.awt.Dimension size)
          Set size of the JComponent.
 void setUserSize(java.awt.Dimension size)
          Set size of this component which is set during resizing by the user
 
Methods inherited from class de.uni_paderborn.fujaba.fsa.FSAPanel
createJComponent, getBorder, isLocked, setBorder, setLayout, setLock
 
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, removeYou, 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, applyProperties, 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, getParent, getParentID, getParentOfJComponent, getPointFromUnparseInformation, getPropertyName, getQualifiedName, getQualifiedName, 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, saveLocation, setBackground, setDefaultProperties, setFocused, setFont, setForeground, setFSAInterface, setFSAObjectFromJComponent, setLocation, setLocation, setLogic, setParentOfJComponent, 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
 

Constructor Detail

FSAResizeable

public FSAResizeable(LogicUnparseInterface incr)
Calls the constructor FSAPanel(incr, propName, parent) with propName = parent = null.

Parameters:
incr - No description provided

FSAResizeable

public FSAResizeable(LogicUnparseInterface incr,
                     javax.swing.JComponent parent)
Calls the constructor FSAPanel(incr, propName, parent) with propName = null.

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

FSAResizeable

public FSAResizeable(LogicUnparseInterface incr,
                     java.lang.String propName,
                     javax.swing.JComponent parent)
Inherited constructor from FSAPanel.

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

FSAResizeable

public FSAResizeable(LogicUnparseInterface incr,
                     java.lang.String propName,
                     javax.swing.JComponent parent,
                     boolean transientProperties)
Overwrites the constructor of FSAPanel.

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

setMinimumSize

public void setMinimumSize(java.awt.Dimension size)
Sets the minimum size of this object. Usually this method will be called after the unparse module has constructed the complete display structure.

Parameters:
size - The new minimumSize value

getMinimumSize

public java.awt.Dimension getMinimumSize()
Return minimum size of the component.

Overrides:
getMinimumSize in class FSAObject
Returns:
The minimumSize value

setMaximumSize

public void setMaximumSize(java.awt.Dimension size)
Sets the maximum size of this object.

Parameters:
size - The new maximumSize value

getMaximumSize

public java.awt.Dimension getMaximumSize()
Return maximum size of the component.

Overrides:
getMaximumSize in class FSAObject
Returns:
The maximumSize value

setSize

public void setSize(java.awt.Dimension size)
Set size of the JComponent.

Parameters:
size - The new size value

getSize

public java.awt.Dimension getSize()
Return size of the component.

Overrides:
getSize in class FSAObject
Returns:
The size value

setUserSize

public void setUserSize(java.awt.Dimension size)
Set size of this component which is set during resizing by the user

Parameters:
size - The new userSize value

getUserSize

public java.awt.Dimension getUserSize()
Get the size of this component set by the user

Returns:
The userSize value

setPreferredSize

public void setPreferredSize(java.awt.Dimension size)
Reset the size of this component to the ui calculated size

Overrides:
setPreferredSize in class FSAObject
Parameters:
size - The new preferredSize value

getPreferredSize

public java.awt.Dimension getPreferredSize()
Return the preferred size of the component

Overrides:
getPreferredSize in class FSAObject
Returns:
The preferredSize value

resize

public void resize(int dx,
                   int dy)
Resizes this component.

Parameters:
dx - The amount to increase the width of this component.
dy - The amount to increase the height of this component.