public class DrawingCommand
extends java.lang.Object
Constructor and Description |
---|
DrawingCommand()
ctor
|
DrawingCommand(java.lang.String label,
java.lang.String message,
java.lang.String iconPath)
ctor
|
DrawingCommand(java.lang.String label,
java.lang.String message,
java.lang.String iconPath,
int flags)
ctor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Equals
|
int |
getFlags()
Get the Flags property.
|
java.lang.String |
getIconPath()
Get the IconPath property.
|
java.lang.String |
getLabel()
Get the Label property.
|
java.lang.String |
getMessage()
Get the Message property.
|
boolean |
isCapable(int mask)
Is this command capable of the task defined in mask
|
void |
setFlags(int value)
Set the Flags property.
|
void |
setIconPath(java.lang.String value)
Set the IconPath property.
|
void |
setLabel(java.lang.String value)
Set the Label property.
|
void |
setMessage(java.lang.String value)
Set the Message property.
|
public DrawingCommand()
public DrawingCommand(java.lang.String label, java.lang.String message, java.lang.String iconPath)
label
- Labelmessage
- MessageiconPath
- Toolbar iconpublic DrawingCommand(java.lang.String label, java.lang.String message, java.lang.String iconPath, int flags)
label
- Labelmessage
- MessageiconPath
- Toolbar iconflags
- Flagspublic boolean isCapable(int mask)
mask
- The maskpublic boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- Objectpublic void setIconPath(java.lang.String value)
value
- The new value for IconPathpublic java.lang.String getIconPath()
public void setLabel(java.lang.String value)
value
- The new value for Labelpublic java.lang.String getLabel()
public void setMessage(java.lang.String value)
value
- The new value for Messagepublic java.lang.String getMessage()
public void setFlags(int value)
value
- The new value for Flagspublic int getFlags()