de.uni_paderborn.fujaba.fsa.swing
Class LineDecoratorConstraints

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

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

constraints for DecoratorLayout to add some stuff to a JLine

UMLClass: 'LineDecoratorConstraints'

Version:
$Revision: 1.10 $
Author:
$Author: lowende $

Field Summary
static byte BORDER_ALIGN
          No comment provided by developer, please add a comment to improve documentation.
static byte BOTTOM
          No comment provided by developer, please add a comment to improve documentation.
static byte BOTTOM_LEFT
          No comment provided by developer, please add a comment to improve documentation.
static byte BOTTOM_RIGHT
          No comment provided by developer, please add a comment to improve documentation.
static byte CENTER
          No comment provided by developer, please add a comment to improve documentation.
static byte HORIZ_ALIGN
          No comment provided by developer, please add a comment to improve documentation.
static byte LEFT
          No comment provided by developer, please add a comment to improve documentation.
static byte RIGHT
          No comment provided by developer, please add a comment to improve documentation.
static byte TOP
          No comment provided by developer, please add a comment to improve documentation.
static byte TOP_LEFT
          No comment provided by developer, please add a comment to improve documentation.
static byte TOP_RIGHT
          No comment provided by developer, please add a comment to improve documentation.
static byte VERT_ALIGN
          No comment provided by developer, please add a comment to improve documentation.
 
Constructor Summary
LineDecoratorConstraints(JLine target, double pos, double gap)
          Constructor for class LineDecoratorConstraints
LineDecoratorConstraints(JLine target, double pos, double gap, byte decAlign, byte targetAlign)
          Constructor for class LineDecoratorConstraints
 
Method Summary
 byte getDecoratorAlignment()
          UMLMethod: 'Read access method for attribute decoratorAlignment : Byte'
 double getGap()
          UMLMethod: 'Read access method for attribute gap : Double'
 java.awt.Point getLocation(java.awt.Component comp)
          Get the location attribute of the LineDecoratorConstraints object
 double getPosition()
          UMLMethod: 'Read access method for attribute position : Double'
 java.awt.Component getTarget()
          UMLMethod: 'Read access method for attribute target : Component'
 byte getTargetAlignment()
          UMLMethod: 'Read access method for attribute targetAlignment : Byte'
 void removeYou()
          UMLMethod: '+ removeYou () : Void'
 byte setDecoratorAlignment(byte decoratorAlignment)
          UMLMethod: 'Write access method for attribute decoratorAlignment : Byte'
 double setGap(double gap)
          UMLMethod: 'Write access method for attribute gap : Double'
 double setPosition(double position)
          UMLMethod: 'Write access method for attribute position : Double'
 java.awt.Component setTarget(java.awt.Component target)
          UMLMethod: 'Write access method for attribute target : Component'
 byte setTargetAlignment(byte targetAlignment)
          UMLMethod: 'Write access method for attribute targetAlignment : Byte'
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CENTER

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

See Also:
Constant Field Values

LEFT

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

See Also:
Constant Field Values

RIGHT

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

See Also:
Constant Field Values

HORIZ_ALIGN

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

See Also:
Constant Field Values

TOP

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

See Also:
Constant Field Values

BOTTOM

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

See Also:
Constant Field Values

VERT_ALIGN

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

See Also:
Constant Field Values

BORDER_ALIGN

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

See Also:
Constant Field Values

TOP_LEFT

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

See Also:
Constant Field Values

TOP_RIGHT

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

See Also:
Constant Field Values

BOTTOM_LEFT

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

See Also:
Constant Field Values

BOTTOM_RIGHT

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

See Also:
Constant Field Values
Constructor Detail

LineDecoratorConstraints

public LineDecoratorConstraints(JLine target,
                                double pos,
                                double gap,
                                byte decAlign,
                                byte targetAlign)
Constructor for class LineDecoratorConstraints

Parameters:
target - No description provided
pos - No description provided
gap - No description provided
decAlign - No description provided
targetAlign - No description provided

LineDecoratorConstraints

public LineDecoratorConstraints(JLine target,
                                double pos,
                                double gap)
Constructor for class LineDecoratorConstraints

Parameters:
target - No description provided
pos - No description provided
gap - 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 LineDecoratorConstraints object

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

getPosition

public double getPosition()
UMLMethod: 'Read access method for attribute position : Double'

Returns:
The position value

setPosition

public double setPosition(double position)
UMLMethod: 'Write access method for attribute position : Double'

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

getDecoratorAlignment

public byte getDecoratorAlignment()
UMLMethod: 'Read access method for attribute decoratorAlignment : Byte'

Returns:
The decoratorAlignment value

setDecoratorAlignment

public byte setDecoratorAlignment(byte decoratorAlignment)
UMLMethod: 'Write access method for attribute decoratorAlignment : Byte'

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

getTargetAlignment

public byte getTargetAlignment()
UMLMethod: 'Read access method for attribute targetAlignment : Byte'

Returns:
The targetAlignment value

setTargetAlignment

public byte setTargetAlignment(byte targetAlignment)
UMLMethod: 'Write access method for attribute targetAlignment : Byte'

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

getGap

public double getGap()
UMLMethod: 'Read access method for attribute gap : Double'

Returns:
The gap value

setGap

public double setGap(double gap)
UMLMethod: 'Write access method for attribute gap : Double'

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

removeYou

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