|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object aima.gui.framework.AgentAppFrame.SelectionState
public static class AgentAppFrame.SelectionState
Contains the names of all selectors and the indices of their selected items. Instances are used to communicate the selection state between the frame and the controller.
Constructor Summary | |
---|---|
protected |
AgentAppFrame.SelectionState(java.lang.String[] selectors)
|
Method Summary | |
---|---|
int |
getValue(int selectorIdx)
Returns the index of the selected item of a specified selector. |
int |
getValue(java.lang.String selector)
Returns the index of the selected item of a specified selector. |
int |
size()
Returns the number of selectors currently available. |
java.lang.String |
toString()
Returns a readable representation of the selection state. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected AgentAppFrame.SelectionState(java.lang.String[] selectors)
Method Detail |
---|
public int size()
public int getValue(int selectorIdx)
public int getValue(java.lang.String selector)
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |