public class WebFigure extends java.lang.Object implements com.mathworks.toolbox.javabuilder.services.StatefulResource, Disposable
| Modifier and Type | Field and Description |
|---|---|
static int |
BLUE |
static int |
GREEN |
static int |
RED |
static java.lang.String |
RESOURCE_TYPE_NAME |
static java.lang.String |
SERVICE_ROOT_ATTRIBUTE |
| Constructor and Description |
|---|
WebFigure(MWArray fFigureData,
int fWidth,
int fHeight,
int fAzimuth,
int fElevation,
int[] fBackgroundColor) |
WebFigure(com.mathworks.toolbox.javabuilder.internal.MWMCR runtime,
double handle) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Deprecated.
|
boolean |
equals(java.lang.Object that) |
int |
getAzimuth() |
int[] |
getBackgroundColor() |
int |
getElevation() |
MWArray |
getFigureData()
Get the MWArray containing the serialized representation of this figure.
|
int |
getHeight() |
java.lang.String |
getResourceType()
Get type of service described by this object.
|
java.util.UUID |
getUUID() |
int |
getWidth() |
int |
hashCode() |
static WebFigure |
newInstance(com.mathworks.toolbox.javabuilder.internal.MWMCR runtime,
double handle) |
public static final java.lang.String RESOURCE_TYPE_NAME
public static final java.lang.String SERVICE_ROOT_ATTRIBUTE
public static final int RED
public static final int GREEN
public static final int BLUE
public WebFigure(MWArray fFigureData, int fWidth, int fHeight, int fAzimuth, int fElevation, int[] fBackgroundColor)
public WebFigure(com.mathworks.toolbox.javabuilder.internal.MWMCR runtime,
double handle)
throws MWException,
java.io.IOException
MWExceptionjava.io.IOExceptionpublic MWArray getFigureData()
public int getWidth()
public int getHeight()
public int getAzimuth()
public int getElevation()
public int[] getBackgroundColor()
public java.lang.String getResourceType()
com.mathworks.toolbox.javabuilder.services.StatefulResourcegetResourceType in interface com.mathworks.toolbox.javabuilder.services.StatefulResourcepublic int hashCode()
hashCode in class java.lang.Objectpublic java.util.UUID getUUID()
public boolean equals(java.lang.Object that)
equals in class java.lang.Object@Deprecated public void dispose()
Disposabledispose in interface Disposablepublic static WebFigure newInstance(com.mathworks.toolbox.javabuilder.internal.MWMCR runtime, double handle) throws MWException, com.mathworks.toolbox.javabuilder.services.ServiceResourceMismatchException, com.mathworks.toolbox.javabuilder.services.ServicePeerCreationError, java.io.IOException
MWExceptioncom.mathworks.toolbox.javabuilder.services.ServiceResourceMismatchExceptioncom.mathworks.toolbox.javabuilder.services.ServicePeerCreationErrorjava.io.IOException© 1994-2008 The MathWorks, Inc. Terms of Use Patents Trademarks