|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IViewable
A viewable object is similar to a feature
| Method Summary | |
|---|---|
boolean |
isOff(int aspectIndex)
Returns true if this feature is off in the given aspect. |
boolean |
isVisible(int aspectIndex)
Returns true if this feature is on in the given aspect. |
void |
off(int aspectIndex,
boolean off)
Sets the visibility of this feature in the given aspect. |
boolean |
promptIfInvisible(int aspectIndex)
Checks if this viewable is visible in the given aspect (normally the current aspect), and if not, raises a dialog to ask the user if it should be made visible |
int |
rgb(int aspectIndex)
Returns the colour assigned to this feature in the given aspect. |
void |
rgb(int aspectIndex,
int argb)
Sets the colour assigned to this feature in the given aspect. |
void |
visible(int aspectIndex,
boolean visible)
Sets the visibility of this feature in the given aspect. |
| Method Detail |
|---|
boolean promptIfInvisible(int aspectIndex)
boolean isVisible(int aspectIndex)
isOff(int)
void visible(int aspectIndex,
boolean visible)
off(int, boolean)
boolean isOff(int aspectIndex)
isVisible(int)
void off(int aspectIndex,
boolean off)
visible(int, boolean)
int rgb(int aspectIndex)
void rgb(int aspectIndex,
int argb)
aspectIndex - the index of an aspectargb - a 32-bit ARGB colour value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||