|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eu.sk.zero.acd.ComponentType
Superclass of types of all components. Types of components should be defined in ACD modules.
Nested Class Summary | |
protected class |
ComponentType.ACDRgb
Helper class for color manipulation. |
Field Summary | |
static int |
ERROR
|
protected boolean |
hidden
Whether all components of this type should be hidden. |
protected int |
id
Numerical id of component type. |
static int |
INACTIVE
|
static int |
SELECTED
|
Constructor Summary | |
ComponentType()
Component type should be never constructed directly. |
|
ComponentType(String s)
Component type should be never constructed directly. |
Method Summary | |
void |
addMethod(org.eu.sk.zero.acd.Method m)
Adds a method for this type. |
void |
addTrigger(org.eu.sk.zero.acd.Trigger t)
Adds a trigger for this type of component. |
void |
addValueType(org.eu.sk.zero.acd.ValueType t)
Adds a type of value to this type of component. |
String |
dump()
Deprecated. |
boolean |
fireTriggers(org.eu.sk.zero.acd.Component c,
String name)
Fires triggers. |
String |
getId()
Returns numerical identification. |
String |
getName()
|
boolean |
isHidden()
|
Iterator |
methodIterator()
Allows browsing methods associated with this component type. |
void |
setHidden(boolean h)
|
String |
toString()
Returns name of this type. |
Iterator |
valueTypeIterator()
Allows browsing types of values for this component type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected int id
protected boolean hidden
public static final int INACTIVE
public static final int SELECTED
public static final int ERROR
Constructor Detail |
public ComponentType()
public ComponentType(String s)
Method Detail |
public void addValueType(org.eu.sk.zero.acd.ValueType t)
ValueType
,
Value
public void addMethod(org.eu.sk.zero.acd.Method m)
public void addTrigger(org.eu.sk.zero.acd.Trigger t)
public Iterator valueTypeIterator()
public Iterator methodIterator()
public boolean fireTriggers(org.eu.sk.zero.acd.Component c, String name)
c
- specific component on with the triggers will operatename
- type of the trigger - 'add', 'remove' ...public String getName()
public String getId()
public boolean isHidden()
public void setHidden(boolean h)
public String dump()
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |