|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.cuni.jagrlib.reg.InfoModule
public class InfoModule
Information about one concrete module instance (Piece
) stored in XML file (composition).
Field Summary | |
---|---|
InfoModuleGUI |
infoGUI
Information about module's GUI. |
Piece |
instancePiece
Piece instance. |
java.lang.Integer |
key
Key of the module (within the composition/group). |
java.util.Map<java.lang.String,java.lang.Object> |
nextInfo
Space for extra information. |
InfoGroup |
owner
Owner of the module (composition/group). |
java.util.Map<java.lang.String,InfoParam> |
params
Set of all information about module parameters. |
java.util.Map<java.lang.String,InfoPlug> |
plugs
Set of all information about module plugs. |
RegPiece |
reg
Shared registration data (one concrete template for multi-template modules). |
static java.lang.String |
TI_MODULE
|
Constructor Summary | |
---|---|
InfoModule(RegPiece r)
Initialize the instance from the given registration data. |
Method Summary | |
---|---|
int |
getState()
State check - checks connection status.. |
InfoModule |
getTopLevelOwner()
Looking for top level owner of module. |
int |
getVisibleParamLines()
Computes number of visible parameter lines. |
boolean |
isOwner(java.lang.Integer _key)
Determines if this module has the key. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.Integer key
public RegPiece reg
public InfoGroup owner
public InfoModuleGUI infoGUI
public java.util.Map<java.lang.String,InfoPlug> plugs
public java.util.Map<java.lang.String,InfoParam> params
public java.util.Map<java.lang.String,java.lang.Object> nextInfo
public Piece instancePiece
Piece
instance.
public static final java.lang.String TI_MODULE
Constructor Detail |
---|
public InfoModule(RegPiece r)
Method Detail |
---|
public InfoModule getTopLevelOwner()
null
then returns self,
if it is not null
then it calls recursively for owner.
public boolean isOwner(java.lang.Integer _key)
_key
- In demand key.
true
if module has the key.public int getState()
public int getVisibleParamLines()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |