kcl.waterloo.graphics.data
Class Category
- java.lang.Object
-
- kcl.waterloo.graphics.data.Category
-
public class Category extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description Category()Category(java.lang.String s)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description static CategorygetEmptyInstance()doublegetRotation()java.lang.StringgetText()doublegetXOffset()doublegetYOffset()voidsetRotation(double rotation)voidsetText(java.lang.String text)voidsetXOffset(double xOffset)voidsetYOffset(double yOffset)
-
-
-
Method Detail
-
getText
public java.lang.String getText()
- Returns:
- the text
-
setText
public void setText(java.lang.String text)
- Parameters:
text- the text to set
-
getXOffset
public double getXOffset()
- Returns:
- the xOffset
-
setXOffset
public void setXOffset(double xOffset)
- Parameters:
xOffset- the xOffset to set
-
getYOffset
public double getYOffset()
- Returns:
- the yOffset
-
setYOffset
public void setYOffset(double yOffset)
- Parameters:
yOffset- the yOffset to set
-
getEmptyInstance
public static Category getEmptyInstance()
-
getRotation
public double getRotation()
- Returns:
- the rotation
-
setRotation
public void setRotation(double rotation)
- Parameters:
rotation- the rotation to set
-
-
DMelt 3.0 © DataMelt by jWork.ORG