cz.cuni.jagrlib.reg
Class InfoModuleGUI

java.lang.Object
  extended by cz.cuni.jagrlib.reg.InfoModuleGUI
Direct Known Subclasses:
InfoGroupGUI

public class InfoModuleGUI
extends java.lang.Object

Information about module's GUI.

See Also:
InfoModuleGUI.java

Field Summary
static java.awt.Color colorName
          Color of background of title.
static java.awt.Color colorSelect
          Color of selection of selected module.
 int defaultHeight
          Starting height of module.
 int defaultWidth
          Starting width of module.
 boolean editable
          Flag, if the module is editable.
 ModuleGUI gui
          Class that care about visual representation of a module.
 int height
          Height of module in normal mode.
static javax.swing.ImageIcon iconRunable
          Icon of runable module.
 boolean maximizable
          Flag, if the module is maximizable.
 boolean minimizable
          Flag, if the module is minimizable.
 java.lang.String modeShow
          Mode of module.
static java.lang.String MS_ICON
          Key for icon.
static java.lang.String MS_MINI
          Minimization mode.
static java.lang.String MS_NORMAL
          Normal mode.
 java.util.Map<java.lang.String,java.lang.Object> nextInfo
          Container for all other information.
 boolean selected
          Flag, if the module is selected.
 int width
          Width of module in normal mode.
 int x
          X-axis of module on work space.
 int y
          Y-axis of module on work space.
 
Constructor Summary
InfoModuleGUI()
           
 
Method Summary
 java.lang.Object clone()
          Creates a new object of the same class as this object.
 boolean isMini()
          Tests, if module is in minimization mode.
 boolean isNormal()
          Tests, if module is in normal mode.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

modeShow

public java.lang.String modeShow
Mode of module. Normal or minimization mode.


height

public int height
Height of module in normal mode.


width

public int width
Width of module in normal mode.


x

public int x
X-axis of module on work space.


y

public int y
Y-axis of module on work space.


editable

public boolean editable
Flag, if the module is editable. Not used yet.


minimizable

public boolean minimizable
Flag, if the module is minimizable. Not used yet.


maximizable

public boolean maximizable
Flag, if the module is maximizable. Not used yet.


selected

public boolean selected
Flag, if the module is selected.


defaultHeight

public int defaultHeight
Starting height of module. Not used yet.


defaultWidth

public int defaultWidth
Starting width of module. Not used yet.


nextInfo

public java.util.Map<java.lang.String,java.lang.Object> nextInfo
Container for all other information.


gui

public ModuleGUI gui
Class that care about visual representation of a module.

See Also:
ModuleGUI, ModuleGUIImproved

MS_MINI

public static final java.lang.String MS_MINI
Minimization mode.

See Also:
Constant Field Values

MS_NORMAL

public static final java.lang.String MS_NORMAL
Normal mode.

See Also:
Constant Field Values

iconRunable

public static javax.swing.ImageIcon iconRunable
Icon of runable module.


MS_ICON

public static final java.lang.String MS_ICON
Key for icon. For nextInfo map.

See Also:
Constant Field Values

colorSelect

public static java.awt.Color colorSelect
Color of selection of selected module.


colorName

public static java.awt.Color colorName
Color of background of title.

Constructor Detail

InfoModuleGUI

public InfoModuleGUI()
Method Detail

isNormal

public boolean isNormal()
Tests, if module is in normal mode.

Returns:
true if module is in normal mode.

isMini

public boolean isMini()
Tests, if module is in minimization mode.

Returns:
true if module is in minimization mode.

clone

public java.lang.Object clone()
Creates a new object of the same class as this object. Except GUI.

Overrides:
clone in class java.lang.Object
Returns:
a clone of this instance.