de.uni_paderborn.fujaba.fsa.swing
Class GrabDecoratorConstraints

java.lang.Object
  extended byde.uni_paderborn.fujaba.fsa.swing.GrabDecoratorConstraints
All Implemented Interfaces:
DecoratorLayout.Constraints

public class GrabDecoratorConstraints
extends java.lang.Object
implements DecoratorLayout.Constraints

Constraints for Decorations to Grabs in PanelGrabUI. Used for additional Components to the main grab component. Defines the way the Components should be positioned according to the main component

Version:
$Revision: 1.11 $
Author:
$Author: lowende $

Field Summary
static byte ABOVE
          No comment provided by developer, please add a comment to improve documentation.
static byte BELOW
          No comment provided by developer, please add a comment to improve documentation.
static byte CENTERED
          No comment provided by developer, please add a comment to improve documentation.
 
Constructor Summary
GrabDecoratorConstraints(JGrab target, byte align)
          Constructor for class GrabDecoratorConstraints
GrabDecoratorConstraints(JGrab target, int gapX, int gapY, byte align)
          Constructor for class GrabDecoratorConstraints
 
Method Summary
 byte getAlignment()
          UMLMethod: 'Read access method for attribute alignment : Byte'
 int getGapX()
          UMLMethod: 'Read access method for attribute gapX : Integer'
 int getGapY()
          UMLMethod: 'Read access method for attribute gapY : Integer'
 java.awt.Point getLocation(java.awt.Component comp)
          Get the location attribute of the GrabDecoratorConstraints object
 java.awt.Component getTarget()
          UMLMethod: 'Read access method for attribute target : Component'
 void removeYou()
          UMLMethod: '+ removeYou () : Void'
 byte setAlignment(byte alignment)
          UMLMethod: 'Write access method for attribute alignment : Byte'
 int setGapX(int gap)
          UMLMethod: 'Write access method for attribute gapX : Integer'
 int setGapY(int gap)
          UMLMethod: 'Write access method for attribute gapY : Integer'
 java.awt.Component setTarget(java.awt.Component target)
          UMLMethod: 'Write access method for attribute target : Component'
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CENTERED

public static final byte CENTERED
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

ABOVE

public static final byte ABOVE
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

BELOW

public static final byte BELOW
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values
Constructor Detail

GrabDecoratorConstraints

public GrabDecoratorConstraints(JGrab target,
                                int gapX,
                                int gapY,
                                byte align)
Constructor for class GrabDecoratorConstraints

Parameters:
target - No description provided
gapX - No description provided
gapY - No description provided
align - No description provided

GrabDecoratorConstraints

public GrabDecoratorConstraints(JGrab target,
                                byte align)
Constructor for class GrabDecoratorConstraints

Parameters:
target - No description provided
align - No description provided
Method Detail

getTarget

public java.awt.Component getTarget()
UMLMethod: 'Read access method for attribute target : Component'

Specified by:
getTarget in interface DecoratorLayout.Constraints
Returns:
The target value

setTarget

public java.awt.Component setTarget(java.awt.Component target)
UMLMethod: 'Write access method for attribute target : Component'

Specified by:
setTarget in interface DecoratorLayout.Constraints
Parameters:
target - The new target value
Returns:
No description provided

getLocation

public java.awt.Point getLocation(java.awt.Component comp)
Get the location attribute of the GrabDecoratorConstraints object

Specified by:
getLocation in interface DecoratorLayout.Constraints
Parameters:
comp - No description provided
Returns:
The location value

getAlignment

public byte getAlignment()
UMLMethod: 'Read access method for attribute alignment : Byte'

Returns:
The alignment value

setAlignment

public byte setAlignment(byte alignment)
UMLMethod: 'Write access method for attribute alignment : Byte'

Parameters:
alignment - The new alignment value
Returns:
No description provided

getGapX

public int getGapX()
UMLMethod: 'Read access method for attribute gapX : Integer'

Returns:
The gapX value

setGapX

public int setGapX(int gap)
UMLMethod: 'Write access method for attribute gapX : Integer'

Parameters:
gap - The new gapX value
Returns:
No description provided

getGapY

public int getGapY()
UMLMethod: 'Read access method for attribute gapY : Integer'

Returns:
The gapY value

setGapY

public int setGapY(int gap)
UMLMethod: 'Write access method for attribute gapY : Integer'

Parameters:
gap - The new gapY value
Returns:
No description provided

removeYou

public void removeYou()
UMLMethod: '+ removeYou () : Void'