|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectactions.LoadConstraintsAction
public class LoadConstraintsAction
Action for loading constraints from a file.
Field Summary | |
---|---|
private static java.util.ArrayList<Constraint> |
constraints
the list of loaded constraints |
private InteractionHandler |
handler
the interaction handler |
private static Map |
map
the previously loaded map |
Constructor Summary | |
---|---|
LoadConstraintsAction(InteractionHandler handler)
Constructs a constraint loader action. |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent arg0)
Displays a dialog allowing the user to select a constraint file and loads the constraints. |
static java.util.ArrayList<Constraint> |
getConstraints(InteractionHandler handler)
Gets the list of constraints. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private InteractionHandler handler
private static Map map
private static java.util.ArrayList<Constraint> constraints
Constructor Detail |
---|
public LoadConstraintsAction(InteractionHandler handler)
handler
- - the interaction handlerMethod Detail |
---|
public void actionPerformed(java.awt.event.ActionEvent arg0)
actionPerformed
in interface java.awt.event.ActionListener
public static java.util.ArrayList<Constraint> getConstraints(InteractionHandler handler)
handler
- - the interaction handler
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |