de.uni_paderborn.fujaba.fsa.swing
Class LayerManager

java.lang.Object
  extended byde.uni_paderborn.fujaba.fsa.swing.LayerManager

public class LayerManager
extends java.lang.Object

No comment provided by developer, please add a comment to improve documentation.

Version:
$Revision: 1.8 $
Author:
$Author: schneider $

Field Summary
static java.lang.String BEND_LAYER_NAME
          No comment provided by developer, please add a comment to improve documentation.
static java.lang.Integer DEFAULT_BEND_DRAG_LAYER
          Convenience object defining the Bend layer.
static java.lang.Integer DEFAULT_BEND_LAYER
          Convenience object defining the Bend layer.
static java.lang.Integer DEFAULT_ELEMENT_DRAG_LAYER
          Convenience object defining the Default layer.
static java.lang.Integer DEFAULT_ELEMENT_LAYER
          Convenience object defining the Default layer.
static java.lang.Integer DEFAULT_LINE_DRAG_LAYER
          Convenience object defining the Default layer.
static java.lang.Integer DEFAULT_LINE_LAYER
          Convenience object defining the Default layer.
static java.lang.String DRAG_LAYER_PREFIX
          No comment provided by developer, please add a comment to improve documentation.
static java.lang.String ELEMENT_LAYER_NAME
          No comment provided by developer, please add a comment to improve documentation.
static java.lang.String LINE_LAYER_NAME
          No comment provided by developer, please add a comment to improve documentation.
 
Constructor Summary
protected LayerManager()
          Constructor for class LayerManager
 
Method Summary
 boolean addToLayerPositions(java.lang.String key, java.lang.Integer value)
          UMLMethod: '+ addToLayerPositions (key: String, value: Integer): Boolean'.
 boolean addToLayerTypes(java.lang.Class key, java.lang.String value)
          UMLMethod: '+ addToLayerTypes (key: Class, value: String): Boolean'.
 java.util.Iterator entriesOfLayerPositions()
          UMLMethod: '+ entriesOfLayerPositions (): Iterator'.
 java.util.Iterator entriesOfLayerTypes()
          UMLMethod: '+ entriesOfLayerTypes (): Iterator'.
static LayerManager get()
          No comment provided by developer, please add a comment to improve documentation.
 java.lang.Integer getDefaultDragLayer()
          Get the defaultDragLayer attribute of the LayerManager object
 java.lang.Integer getDefaultLayer()
          Get the defaultLayer attribute of the LayerManager object
 java.lang.String getDefaultLayerType()
          Get the defaultLayerType attribute of the LayerManager object
 int getDragLayer(javax.swing.JComponent comp)
          Get the dragLayer attribute of the LayerManager object
 java.lang.Integer getFromLayerPositions(java.lang.String key)
          UMLMethod: '+ getFromLayerPositions (key: String): Integer'.
 java.lang.String getFromLayerTypes(java.lang.Class key)
          UMLMethod: '+ getFromLayerTypes (key: Class): String'.
 int getLayer(javax.swing.JComponent comp)
          Get the layer attribute of the LayerManager object
 java.lang.String getLayerType(javax.swing.JComponent comp)
          Get the layerType attribute of the LayerManager object
 boolean hasInLayerPositions(java.lang.Integer value)
          UMLMethod: '+ hasInLayerPositions (value: Integer): Boolean'.
 boolean hasInLayerPositions(java.lang.String key, java.lang.Integer value)
          UMLMethod: '+ hasInLayerPositions (key: String, value: Integer): Boolean'.
 boolean hasInLayerTypes(java.lang.Class key, java.lang.String value)
          UMLMethod: '+ hasInLayerTypes (key: Class, value: String): Boolean'.
 boolean hasInLayerTypes(java.lang.String value)
          UMLMethod: '+ hasInLayerTypes (value: String): Boolean'.
 boolean hasKeyInLayerPositions(java.lang.String key)
          UMLMethod: '+ hasKeyInLayerPositions (key: String): Boolean'.
 boolean hasKeyInLayerTypes(java.lang.Class key)
          UMLMethod: '+ hasKeyInLayerTypes (key: Class): Boolean'.
 java.util.Iterator iteratorOfLayerPositions()
          UMLMethod: '+ iteratorOfLayerPositions (): Iterator'.
 java.util.Iterator iteratorOfLayerTypes()
          UMLMethod: '+ iteratorOfLayerTypes (): Iterator'.
 java.util.Iterator keysOfLayerPositions()
          UMLMethod: '+ keysOfLayerPositions (): Iterator'.
 java.util.Iterator keysOfLayerTypes()
          UMLMethod: '+ keysOfLayerTypes (): Iterator'.
 void removeAllFromLayerPositions()
          UMLMethod: '+ removeAllFromLayerPositions (): Void'.
 void removeAllFromLayerTypes()
          UMLMethod: '+ removeAllFromLayerTypes (): Void'.
 boolean removeFromLayerPositions(java.lang.Integer value)
          UMLMethod: '+ removeFromLayerPositions (value: Integer): Boolean'.
 boolean removeFromLayerPositions(java.lang.String key, java.lang.Integer value)
          UMLMethod: '+ removeFromLayerPositions (key: String, value: Integer): Boolean'.
 boolean removeFromLayerTypes(java.lang.Class key, java.lang.String value)
          UMLMethod: '+ removeFromLayerTypes (key: Class, value: String): Boolean'.
 boolean removeFromLayerTypes(java.lang.String value)
          UMLMethod: '+ removeFromLayerTypes (value: String): Boolean'.
 boolean removeKeyFromLayerPositions(java.lang.String key)
          UMLMethod: '+ removeKeyFromLayerPositions (key: String): Boolean'.
 boolean removeKeyFromLayerTypes(java.lang.Class key)
          UMLMethod: '+ removeKeyFromLayerTypes (key: Class): Boolean'.
 boolean setDefaultDragLayer(java.lang.Integer value)
          Sets the defaultDragLayer attribute of the LayerManager object
 boolean setDefaultLayer(java.lang.Integer value)
          Sets the defaultLayer attribute of the LayerManager object
 boolean setDefaultLayerType(java.lang.String value)
          Sets the defaultLayerType attribute of the LayerManager object
 void setDefaults()
          Sets the defaults attribute of the LayerManager object
static void setLayerType(javax.swing.JComponent comp, java.lang.String name)
          Sets the layerType attribute of the LayerManager class
 int sizeOfLayerPositions()
          UMLMethod: '+ sizeOfLayerPositions ()'.
 int sizeOfLayerTypes()
          UMLMethod: '+ sizeOfLayerTypes ()'.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ELEMENT_LAYER_NAME

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

See Also:
Constant Field Values

BEND_LAYER_NAME

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

See Also:
Constant Field Values

LINE_LAYER_NAME

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

See Also:
Constant Field Values

DEFAULT_ELEMENT_LAYER

public static final java.lang.Integer DEFAULT_ELEMENT_LAYER
Convenience object defining the Default layer. Equivalent to JLayeredPane.DEFAULT_LAYER.


DEFAULT_BEND_LAYER

public static final java.lang.Integer DEFAULT_BEND_LAYER
Convenience object defining the Bend layer. Equivalent to ELEMENT_LAYER - 10.


DEFAULT_LINE_LAYER

public static final java.lang.Integer DEFAULT_LINE_LAYER
Convenience object defining the Default layer. Equivalent to BEND_LAYER - 10.


DEFAULT_ELEMENT_DRAG_LAYER

public static final java.lang.Integer DEFAULT_ELEMENT_DRAG_LAYER
Convenience object defining the Default layer. Equivalent to JLayeredPane.DRAG_LAYER.


DEFAULT_BEND_DRAG_LAYER

public static final java.lang.Integer DEFAULT_BEND_DRAG_LAYER
Convenience object defining the Bend layer. Equivalent to DEFAULT_ELEMENT_DRAG_LAYER - 10.


DEFAULT_LINE_DRAG_LAYER

public static final java.lang.Integer DEFAULT_LINE_DRAG_LAYER
Convenience object defining the Default layer. Equivalent to DEFAULT_BEND_DRAG_LAYER - 10.


DRAG_LAYER_PREFIX

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

See Also:
Constant Field Values
Constructor Detail

LayerManager

protected LayerManager()
Constructor for class LayerManager

Method Detail

get

public static LayerManager get()
No comment provided by developer, please add a comment to improve documentation.

Returns:
No description provided

setDefaults

public void setDefaults()
Sets the defaults attribute of the LayerManager object


getLayer

public int getLayer(javax.swing.JComponent comp)
Get the layer attribute of the LayerManager object

Parameters:
comp - No description provided
Returns:
The layer value

getDragLayer

public int getDragLayer(javax.swing.JComponent comp)
Get the dragLayer attribute of the LayerManager object

Parameters:
comp - No description provided
Returns:
The dragLayer value

getLayerType

public java.lang.String getLayerType(javax.swing.JComponent comp)
Get the layerType attribute of the LayerManager object

Parameters:
comp - No description provided
Returns:
The layerType value

setLayerType

public static void setLayerType(javax.swing.JComponent comp,
                                java.lang.String name)
Sets the layerType attribute of the LayerManager class

Parameters:
comp - The new layerType value
name - The new layerType value

setDefaultLayerType

public boolean setDefaultLayerType(java.lang.String value)
Sets the defaultLayerType attribute of the LayerManager object

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

getDefaultLayerType

public java.lang.String getDefaultLayerType()
Get the defaultLayerType attribute of the LayerManager object

Returns:
The defaultLayerType value

setDefaultLayer

public boolean setDefaultLayer(java.lang.Integer value)
Sets the defaultLayer attribute of the LayerManager object

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

getDefaultLayer

public java.lang.Integer getDefaultLayer()
Get the defaultLayer attribute of the LayerManager object

Returns:
The defaultLayer value

setDefaultDragLayer

public boolean setDefaultDragLayer(java.lang.Integer value)
Sets the defaultDragLayer attribute of the LayerManager object

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

getDefaultDragLayer

public java.lang.Integer getDefaultDragLayer()
Get the defaultDragLayer attribute of the LayerManager object

Returns:
The defaultDragLayer value

hasInLayerTypes

public boolean hasInLayerTypes(java.lang.String value)
UMLMethod: '+ hasInLayerTypes (value: String): Boolean'.

Parameters:
value - No description provided
Returns:
No description provided

hasInLayerTypes

public boolean hasInLayerTypes(java.lang.Class key,
                               java.lang.String value)
UMLMethod: '+ hasInLayerTypes (key: Class, value: String): Boolean'.

Parameters:
key - No description provided
value - No description provided
Returns:
No description provided

hasKeyInLayerTypes

public boolean hasKeyInLayerTypes(java.lang.Class key)
UMLMethod: '+ hasKeyInLayerTypes (key: Class): Boolean'.

Parameters:
key - No description provided
Returns:
No description provided

iteratorOfLayerTypes

public java.util.Iterator iteratorOfLayerTypes()
UMLMethod: '+ iteratorOfLayerTypes (): Iterator'.

Returns:
No description provided

keysOfLayerTypes

public java.util.Iterator keysOfLayerTypes()
UMLMethod: '+ keysOfLayerTypes (): Iterator'.

Returns:
No description provided

entriesOfLayerTypes

public java.util.Iterator entriesOfLayerTypes()
UMLMethod: '+ entriesOfLayerTypes (): Iterator'.

Returns:
No description provided

sizeOfLayerTypes

public int sizeOfLayerTypes()
UMLMethod: '+ sizeOfLayerTypes ()'.

Returns:
No description provided

getFromLayerTypes

public java.lang.String getFromLayerTypes(java.lang.Class key)
UMLMethod: '+ getFromLayerTypes (key: Class): String'.

Parameters:
key - No description provided
Returns:
The fromLayerTypes value

addToLayerTypes

public boolean addToLayerTypes(java.lang.Class key,
                               java.lang.String value)
UMLMethod: '+ addToLayerTypes (key: Class, value: String): Boolean'.

Parameters:
key - The object added.
value - The object added.
Returns:
No description provided

removeFromLayerTypes

public boolean removeFromLayerTypes(java.lang.String value)
UMLMethod: '+ removeFromLayerTypes (value: String): Boolean'.

Parameters:
value - No description provided
Returns:
No description provided

removeFromLayerTypes

public boolean removeFromLayerTypes(java.lang.Class key,
                                    java.lang.String value)
UMLMethod: '+ removeFromLayerTypes (key: Class, value: String): Boolean'.

Parameters:
key - No description provided
value - No description provided
Returns:
No description provided

removeKeyFromLayerTypes

public boolean removeKeyFromLayerTypes(java.lang.Class key)
UMLMethod: '+ removeKeyFromLayerTypes (key: Class): Boolean'.

Parameters:
key - No description provided
Returns:
No description provided

removeAllFromLayerTypes

public void removeAllFromLayerTypes()
UMLMethod: '+ removeAllFromLayerTypes (): Void'.


hasInLayerPositions

public boolean hasInLayerPositions(java.lang.Integer value)
UMLMethod: '+ hasInLayerPositions (value: Integer): Boolean'.

Parameters:
value - No description provided
Returns:
No description provided

hasInLayerPositions

public boolean hasInLayerPositions(java.lang.String key,
                                   java.lang.Integer value)
UMLMethod: '+ hasInLayerPositions (key: String, value: Integer): Boolean'.

Parameters:
key - No description provided
value - No description provided
Returns:
No description provided

hasKeyInLayerPositions

public boolean hasKeyInLayerPositions(java.lang.String key)
UMLMethod: '+ hasKeyInLayerPositions (key: String): Boolean'.

Parameters:
key - No description provided
Returns:
No description provided

iteratorOfLayerPositions

public java.util.Iterator iteratorOfLayerPositions()
UMLMethod: '+ iteratorOfLayerPositions (): Iterator'.

Returns:
No description provided

keysOfLayerPositions

public java.util.Iterator keysOfLayerPositions()
UMLMethod: '+ keysOfLayerPositions (): Iterator'.

Returns:
No description provided

entriesOfLayerPositions

public java.util.Iterator entriesOfLayerPositions()
UMLMethod: '+ entriesOfLayerPositions (): Iterator'.

Returns:
No description provided

sizeOfLayerPositions

public int sizeOfLayerPositions()
UMLMethod: '+ sizeOfLayerPositions ()'.

Returns:
No description provided

getFromLayerPositions

public java.lang.Integer getFromLayerPositions(java.lang.String key)
UMLMethod: '+ getFromLayerPositions (key: String): Integer'.

Parameters:
key - No description provided
Returns:
The fromLayerPositions value

addToLayerPositions

public boolean addToLayerPositions(java.lang.String key,
                                   java.lang.Integer value)
UMLMethod: '+ addToLayerPositions (key: String, value: Integer): Boolean'.

Parameters:
key - The object added.
value - The object added.
Returns:
No description provided

removeFromLayerPositions

public boolean removeFromLayerPositions(java.lang.Integer value)
UMLMethod: '+ removeFromLayerPositions (value: Integer): Boolean'.

Parameters:
value - No description provided
Returns:
No description provided

removeFromLayerPositions

public boolean removeFromLayerPositions(java.lang.String key,
                                        java.lang.Integer value)
UMLMethod: '+ removeFromLayerPositions (key: String, value: Integer): Boolean'.

Parameters:
key - No description provided
value - No description provided
Returns:
No description provided

removeKeyFromLayerPositions

public boolean removeKeyFromLayerPositions(java.lang.String key)
UMLMethod: '+ removeKeyFromLayerPositions (key: String): Boolean'.

Parameters:
key - No description provided
Returns:
No description provided

removeAllFromLayerPositions

public void removeAllFromLayerPositions()
UMLMethod: '+ removeAllFromLayerPositions (): Void'.