com.smartgwt.client.widgets.drawing

## Class DrawShapeCommand

- java.lang.Object
- - com.smartgwt.client.core.JsObject
  - - com.smartgwt.client.core.DataClass
    - - com.smartgwt.client.widgets.drawing.DrawShapeCommand

- All Implemented Interfaces:
    com.google.gwt.event.shared.HasHandlers
  Direct Known Subclasses:
    CircleToCommand, CloseCommand, LineToCommand, MoveToCommand

      public class DrawShapeCommand
      extends DataClass

  Holds the information of a drawing command.

- - ### Field Summary

    - ### Fields inherited from class com.smartgwt.client.core.DataClass

      `factoryCreated, factoryProperties, readOnly`

    - ### Fields inherited from class com.smartgwt.client.core.JsObject

      `jsObj`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `DrawShapeCommand()`
    `DrawShapeCommand(com.google.gwt.core.client.JavaScriptObject jsObj)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static DrawShapeCommand` | `getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)`
    `DrawShapeCommandType` | `getType()` The command type.
    `protected void` | `setArgs(com.google.gwt.core.client.JavaScriptObject args)`
    `void` | `setType(DrawShapeCommandType type)` The command type.

    - ### Methods inherited from class com.smartgwt.client.core.DataClass

      `applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, getReadOnly, isFactoryCreated, logConfiguration, 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, setReadOnly`

    - ### Methods inherited from class com.smartgwt.client.core.JsObject

      `equals, getJsObj, hashCode, isCreated, setJavaScriptObject, setJsObj`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DrawShapeCommand

          public DrawShapeCommand()

    - #### DrawShapeCommand

          public DrawShapeCommand(com.google.gwt.core.client.JavaScriptObject jsObj)

  - ### Method Detail

    - #### getOrCreateRef

          public static DrawShapeCommand getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)

    - #### setType

          public void setType(DrawShapeCommandType type)

      The command type.
      Parameters:
        `type` - Default value is null

    - #### getType

          public DrawShapeCommandType getType()

      The command type.
      Returns:
        DrawShapeCommandType

    - #### setArgs

          protected void setArgs(com.google.gwt.core.client.JavaScriptObject args)