|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.javasoft.plaf.synthetica.SyntheticaState
public class SyntheticaState
Extended state class which covers additional component states like non-editable (LOCKED). Some Synthetica painters respect extended states and offer public painting methods which can be used for your own purpose. An integer state value represents multiple combined states. The enumeration SyntheticaState.State represents all available single states.
| Nested Class Summary | |
|---|---|
static class |
SyntheticaState.State
|
| Constructor Summary | |
|---|---|
SyntheticaState()
SyntheticaState default constructor. |
|
SyntheticaState(int state)
SyntheticaState constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
int |
getState()
Getter for the complete state. |
boolean |
isSet(int state)
Returns true if the specified state is set. |
boolean |
isSet(SyntheticaState.State state)
Returns true if the specified state is set. |
void |
resetState(SyntheticaState.State state)
Resets a single state. |
void |
setState(int state)
Setter for the complete state. |
void |
setState(SyntheticaState.State state)
Setter for a single state. |
java.lang.String |
toString()
Returns the complete state as string. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SyntheticaState()
public SyntheticaState(int state)
state - complete state used for state initialization| Method Detail |
|---|
public int getState()
public void setState(int state)
state - complete component statepublic void setState(SyntheticaState.State state)
state - sets/enables the specified single statepublic void resetState(SyntheticaState.State state)
state - resets/disables the specified single statepublic boolean isSet(SyntheticaState.State state)
state - the state to check for
public boolean isSet(int state)
state - the state as integer value
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic 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 | |||||||||