org.vectomatic.common.rpc
Class Representation

java.lang.Object
  extended by org.vectomatic.common.rpc.Representation
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class Representation
extends Object
implements com.google.gwt.user.client.rpc.IsSerializable


Field Summary
static int DEFAULT_DRAWING_HEIGHT
           
static int DEFAULT_DRAWING_WIDTH
           
 
Constructor Summary
Representation()
           
Representation(int width, int height, String description)
           
 
Method Summary
 String getDescription()
           
 int getHeight()
           
 String getName()
           
 PaletteList getPalettes()
           
 Shape[] getShapes()
           
 int getWidth()
           
 void setDescription(String description)
           
 void setHeight(int height)
           
 void setName(String name)
           
 void setPalettes(PaletteList palettes)
           
 void setShapes(Shape[] shapeArray)
           
 void setWidth(int width)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_DRAWING_WIDTH

public static final int DEFAULT_DRAWING_WIDTH
See Also:
Constant Field Values

DEFAULT_DRAWING_HEIGHT

public static final int DEFAULT_DRAWING_HEIGHT
See Also:
Constant Field Values
Constructor Detail

Representation

public Representation()

Representation

public Representation(int width,
                      int height,
                      String description)
Method Detail

setWidth

public void setWidth(int width)

getWidth

public int getWidth()

setHeight

public void setHeight(int height)

getHeight

public int getHeight()

setDescription

public void setDescription(String description)

getDescription

public String getDescription()

getName

public String getName()

setName

public void setName(String name)

setShapes

public void setShapes(Shape[] shapeArray)

getShapes

public Shape[] getShapes()

setPalettes

public void setPalettes(PaletteList palettes)

getPalettes

public PaletteList getPalettes()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010. All Rights Reserved.