synergynetframework.appsystem.contentsystem.jme.items.utils
Class DrawData

java.lang.Object
  extended by synergynetframework.appsystem.contentsystem.jme.items.utils.DrawData
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DrawFillRectangle, DrawLine, DrawString

public abstract class DrawData
extends java.lang.Object
implements java.io.Serializable

The Class DrawData.

See Also:
Serialized Form

Constructor Summary
DrawData()
           
 
Method Summary
 void clear(java.awt.Graphics2D graphics)
          Clear.
 void draw(java.awt.Graphics2D graphics)
          Draw.
 java.awt.Color getColor()
          Gets the color.
 long getCursorId()
          Gets the cursor id.
 float getWidth()
          Gets the width.
 void setColor(java.awt.Color color)
          Sets the color.
 void setCursorId(long cursorId)
          Sets the cursor id.
 void setWidth(float width)
          Sets the width.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DrawData

public DrawData()
Method Detail

clear

public void clear(java.awt.Graphics2D graphics)
Clear.

Parameters:
graphics - the graphics

draw

public void draw(java.awt.Graphics2D graphics)
Draw.

Parameters:
graphics - the graphics

getColor

public java.awt.Color getColor()
Gets the color.

Returns:
the color

getCursorId

public long getCursorId()
Gets the cursor id.

Returns:
the cursor id

getWidth

public float getWidth()
Gets the width.

Returns:
the width

setColor

public void setColor(java.awt.Color color)
Sets the color.

Parameters:
color - the new color

setCursorId

public void setCursorId(long cursorId)
Sets the cursor id.

Parameters:
cursorId - the new cursor id

setWidth

public void setWidth(float width)
Sets the width.

Parameters:
width - the new width