|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VisualConstraint
Visual constraints can be rendered on top of the views and also have colors that the user may modify. Currently, every constraint has only one color associated with
Method Summary | |
---|---|
List<Class<? extends View>> |
getApplicableViews()
|
Color |
getColor()
|
boolean |
isActive()
Should this constraint be displayed? |
boolean |
isApplicableFor(View view)
|
void |
setActive(boolean active)
Toggles the active state of this constraint on and off. |
void |
setColor(Color c)
|
Methods inherited from interface se.liu.ida.critiquer.gui.ViewRenderingListener |
---|
viewUpdated |
Method Detail |
---|
Color getColor()
void setColor(Color c)
List<Class<? extends View>> getApplicableViews()
boolean isApplicableFor(View view)
void setActive(boolean active)
active
- boolean isActive()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |