Package com.cosylab.vdct.db
Class DBBox
- java.lang.Object
-
- com.cosylab.vdct.db.DBBox
-
public class DBBox extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Color
getColor()
Returns the color.String
getName()
Returns the name.String
getParentBorderID()
int
getX()
Returns the x.int
getX2()
Returns the x2.int
getY()
Returns the y.int
getY2()
Returns the y2.boolean
isDashed()
Returns the dashed.void
setColor(Color color)
Sets the color.void
setDashed(boolean dashed)
Sets the dashed.void
setName(String name)
Sets the name.void
setParentBorderID(String parentBorderID)
void
setX(int x)
Sets the x.void
setX2(int x2)
Sets the x2.void
setY(int y)
Sets the y.void
setY2(int y2)
Sets the y2.
-
-
-
Constructor Detail
-
DBBox
public DBBox(String name, int x, int y, int x2, int y2, boolean dashed, Color color, String parentBorderID)
Insert the method's description here. Creation date: (23.4.2001 21:12:09)- Parameters:
name
- namey
- yx
- xx2
- x2y2
- y2dashed
- dashedcolor
- colorparentBorderID
- parentBorderID
-
-
Method Detail
-
getColor
public Color getColor()
Returns the color.- Returns:
- Color
-
isDashed
public boolean isDashed()
Returns the dashed.- Returns:
- boolean
-
getName
public String getName()
Returns the name.- Returns:
- String
-
getX
public int getX()
Returns the x.- Returns:
- int
-
getX2
public int getX2()
Returns the x2.- Returns:
- int
-
getY
public int getY()
Returns the y.- Returns:
- int
-
getY2
public int getY2()
Returns the y2.- Returns:
- int
-
setColor
public void setColor(Color color)
Sets the color.- Parameters:
color
- The color to set
-
setDashed
public void setDashed(boolean dashed)
Sets the dashed.- Parameters:
dashed
- The dashed to set
-
setName
public void setName(String name)
Sets the name.- Parameters:
name
- The name to set
-
setX
public void setX(int x)
Sets the x.- Parameters:
x
- The x to set
-
setX2
public void setX2(int x2)
Sets the x2.- Parameters:
x2
- The x2 to set
-
setY
public void setY(int y)
Sets the y.- Parameters:
y
- The y to set
-
setY2
public void setY2(int y2)
Sets the y2.- Parameters:
y2
- The y2 to set
-
getParentBorderID
public String getParentBorderID()
- Returns:
- Returns the parentBorderID.
-
setParentBorderID
public void setParentBorderID(String parentBorderID)
- Parameters:
parentBorderID
- The parentBorderID to set.
-
-