|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectCH.ifa.draw.util.Command
CH.ifa.draw.standard.ChangeAttributeCommand
public class ChangeAttributeCommand
Command to change a named figure attribute.
Constructor Summary | |
---|---|
ChangeAttributeCommand(java.lang.String name,
java.lang.String attributeName,
java.lang.Object value,
DrawingView view)
Constructs a change attribute command. |
Method Summary | |
---|---|
void |
execute()
Executes the command. |
boolean |
isExecutable()
Tests if the command can be executed. |
Methods inherited from class CH.ifa.draw.util.Command |
---|
name |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChangeAttributeCommand(java.lang.String name, java.lang.String attributeName, java.lang.Object value, DrawingView view)
name
- the command nameattributeName
- the name of the attribute to be changedvalue
- the new attribute valueview
- the target viewMethod Detail |
---|
public void execute()
Command
execute
in class Command
public boolean isExecutable()
Command
isExecutable
in class Command
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |