|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectse.liu.ida.critiquer.constraints.VisualConstraints
public class VisualConstraints
A map of visual constraints, with flags indicating if they are active or not
We actually only care about the ViewRenderingListener constraints here, the other ones can do their job without knowing about the view rendering
Constructor Summary | |
---|---|
VisualConstraints()
|
Method Summary | |
---|---|
static void |
addConstraint(VisualConstraint c)
|
static List<VisualConstraint> |
getActiveConstraints()
Get a list of the constraints that are currently displaying visual information. |
static VisualConstraint |
getConstraintByClass(Class c)
Retrieve a singleton constraint given its class |
static void |
removeConstraint(VisualConstraint c)
|
static void |
setConstraintEnabled(Class constraintClass,
boolean enabled)
Toggles constraints on and off, though they are still active in the sense that they are updated with information from the activities |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VisualConstraints()
Method Detail |
---|
public static void setConstraintEnabled(Class constraintClass, boolean enabled)
public static VisualConstraint getConstraintByClass(Class c)
c
- the class of the constraint
public static void addConstraint(VisualConstraint c)
public static void removeConstraint(VisualConstraint c)
public static List<VisualConstraint> getActiveConstraints()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |