Class DrawShapeCommand
java.lang.Object
com.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.widgets.drawing.DrawShapeCommand
- All Implemented Interfaces:
HasHandlers
- Direct Known Subclasses:
CircleToCommand,CloseCommand,LineToCommand,MoveToCommand
Holds the information of a drawing command.
-
Field Summary
Fields inherited from class com.smartgwt.client.core.DataClass
factoryCreated, factoryProperties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DrawShapeCommandgetOrCreateRef(JavaScriptObject jsObj) getType()The command type.protected voidsetArgs(JavaScriptObject args) setType(DrawShapeCommandType type) The command type.Methods inherited from class com.smartgwt.client.core.DataClass
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, isFactoryCreated, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject, setFactoryCreated
-
Constructor Details
-
DrawShapeCommand
public DrawShapeCommand() -
DrawShapeCommand
-
-
Method Details
-
getOrCreateRef
-
setType
The command type.- Parameters:
type- New type value. Default value is null- Returns:
DrawShapeCommandinstance, for chaining setter calls
-
getType
The command type.- Returns:
- Current type value. Default value is null
-
setArgs
-