com.cosylab.vdct.db
Class DBLine

java.lang.Object
  extended by com.cosylab.vdct.db.DBLine

public class DBLine
extends java.lang.Object


Field Summary
protected  java.awt.Color color
           
protected  boolean dashed
           
protected  boolean endArrow
           
protected  java.lang.String name
           
protected  java.lang.String parentBorderID
           
protected  boolean startArrow
           
protected  int x
           
protected  int x2
           
protected  int y
           
protected  int y2
           
 
Constructor Summary
DBLine(java.lang.String name, int x, int y, int x2, int y2, boolean dashed, boolean startArrow, boolean endArrow, java.awt.Color color, java.lang.String parentBorderID)
          Insert the method's description here.
 
Method Summary
 java.awt.Color getColor()
          Returns the color.
 java.lang.String getName()
          Returns the name.
 java.lang.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(java.awt.Color color)
          Sets the color.
 void setDashed(boolean dashed)
          Sets the dashed.
 void setEndArrow(boolean endArrow)
          Sets the endArrow.
 void setName(java.lang.String name)
          Sets the name.
 void setParentBorderID(java.lang.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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

x

protected int x

y

protected int y

x2

protected int x2

y2

protected int y2

dashed

protected boolean dashed

startArrow

protected boolean startArrow

endArrow

protected boolean endArrow

color

protected java.awt.Color color

parentBorderID

protected java.lang.String parentBorderID
Constructor Detail

DBLine

public DBLine(java.lang.String name,
              int x,
              int y,
              int x2,
              int y2,
              boolean dashed,
              boolean startArrow,
              boolean endArrow,
              java.awt.Color color,
              java.lang.String parentBorderID)
Insert the method's description here. Creation date: (23.4.2001 21:12:09)

Method Detail

getColor

public java.awt.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 java.lang.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(java.awt.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(java.lang.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 java.lang.String getParentBorderID()
Returns:
Returns the parentBorderID.

setParentBorderID

public void setParentBorderID(java.lang.String parentBorderID)
Parameters:
parentBorderID - The parentBorderID to set.