|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eu.sk.zero.acd.Component
Superclass for all components - nodes, edges and areas.
Field Summary | |
protected int |
id
Numerical id of the component. |
protected org.eu.sk.zero.acd.ComponentType |
type
Type of this component. |
Constructor Summary | |
Component(org.eu.sk.zero.acd.ComponentType t)
Construct a component of the given type. |
Method Summary | |
void |
addValue(org.eu.sk.zero.acd.Value val)
This is only called by the application. |
void |
deselect()
Deselect this component |
String |
getId()
Returns the numeric id of the component. |
org.eu.sk.zero.acd.ComponentType |
getType()
Returns the type of the component. |
void |
hide()
Hides the component. |
boolean |
isError()
Gets the error status of this component. |
boolean |
isHidden()
Gets the hidden status of the component. |
boolean |
isSelected()
Check selection status of this component |
void |
select()
Select this component |
void |
setError(boolean err)
Sets the error status of this component. |
void |
show()
Unhides the component. |
String |
toString()
Returns a string representation of this object. |
org.eu.sk.zero.acd.Value |
value(int id)
Returns value of the component by its type id |
org.eu.sk.zero.acd.Value |
value(String vn)
Returns value of the component by its name |
Iterator |
valueIterator()
Allows browsing all values of the component |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected org.eu.sk.zero.acd.ComponentType type
ComponentType
protected int id
Constructor Detail |
public Component(org.eu.sk.zero.acd.ComponentType t)
Method Detail |
public void addValue(org.eu.sk.zero.acd.Value val)
public Iterator valueIterator()
public String toString()
toString
in class Object
Values
public String getId()
public org.eu.sk.zero.acd.ComponentType getType()
public org.eu.sk.zero.acd.Value value(String vn)
public org.eu.sk.zero.acd.Value value(int id)
public void select()
public void deselect()
public boolean isSelected()
public void setError(boolean err)
public boolean isError()
public void hide()
public void show()
public boolean isHidden()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |