Package com.cosylab.vdct.db
Class DBLine
- java.lang.Object
-
- com.cosylab.vdct.db.DBLine
-
public class DBLine 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.boolean
isEndArrow()
Returns the endArrow.boolean
isStartArrow()
Returns the startArrow.void
setColor(Color color)
Sets the color.void
setDashed(boolean dashed)
Sets the dashed.void
setEndArrow(boolean endArrow)
Sets the endArrow.void
setName(String name)
Sets the name.void
setParentBorderID(String parentBorderID)
void
setStartArrow(boolean startArrow)
Sets the startArrow.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
-
DBLine
public DBLine(String name, int x, int y, int x2, int y2, boolean dashed, boolean startArrow, boolean endArrow, Color color, String parentBorderID)
Insert the method's description here. Creation date: (23.4.2001 21:12:09)- Parameters:
name
- namex
- xy
- yy2
- y2parentBorderID
- parentBorderIDdashed
- dashedx2
- x2endArrow
- endArrowcolor
- colorstartArrow
- startArrow
-
-
Method Detail
-
getColor
public Color getColor()
Returns the color.- Returns:
- Color
-
isDashed
public boolean isDashed()
Returns the dashed.- Returns:
- boolean
-
isEndArrow
public boolean isEndArrow()
Returns the endArrow.- Returns:
- boolean
-
getName
public String getName()
Returns the name.- Returns:
- String
-
isStartArrow
public boolean isStartArrow()
Returns the startArrow.- Returns:
- boolean
-
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
-
setEndArrow
public void setEndArrow(boolean endArrow)
Sets the endArrow.- Parameters:
endArrow
- The endArrow to set
-
setName
public void setName(String name)
Sets the name.- Parameters:
name
- The name to set
-
setStartArrow
public void setStartArrow(boolean startArrow)
Sets the startArrow.- Parameters:
startArrow
- The startArrow 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.
-
-