Documentation of 'CH.ifa.draw.standard.ChangeAttributeCommand' Java class
ChangeAttributeCommand
CH.ifa.draw.standard

Class ChangeAttributeCommand



  • public class ChangeAttributeCommand
    extends Command
    Command to change a named figure attribute.
    • Constructor Summary

      Constructors 
      Constructor and Description
      ChangeAttributeCommand(java.lang.String name, java.lang.String attributeName, java.lang.Object value, DrawingView view)
      Constructs a change attribute command.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      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

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ChangeAttributeCommand

        public ChangeAttributeCommand(java.lang.String name,
                                      java.lang.String attributeName,
                                      java.lang.Object value,
                                      DrawingView view)
        Constructs a change attribute command.
        Parameters:
        name - the command name
        attributeName - the name of the attribute to be changed
        value - the new attribute value
        view - the target view
    • Method Detail

      • execute

        public void execute()
        Description copied from class: Command
        Executes the command.
        Specified by:
        execute in class Command
      • isExecutable

        public boolean isExecutable()
        Description copied from class: Command
        Tests if the command can be executed.
        Overrides:
        isExecutable in class Command

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.