com.cosylab.vdct.db
Class DBBox

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

public class DBBox
extends java.lang.Object


Field Summary
protected  java.awt.Color color
           
protected  boolean dashed
           
protected  java.lang.String name
           
protected  java.lang.String parentBorderID
           
protected  int x
           
protected  int x2
           
protected  int y
           
protected  int y2
           
 
Constructor Summary
DBBox(java.lang.String name, int x, int y, int x2, int y2, boolean dashed, 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.
 void setColor(java.awt.Color color)
          Sets the color.
 void setDashed(boolean dashed)
          Sets the dashed.
 void setName(java.lang.String name)
          Sets the name.
 void setParentBorderID(java.lang.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.
 
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

color

protected java.awt.Color color

parentBorderID

protected java.lang.String parentBorderID
Constructor Detail

DBBox

public DBBox(java.lang.String name,
             int x,
             int y,
             int x2,
             int y2,
             boolean dashed,
             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

getName

public java.lang.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(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

setName

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

setParentBorderID

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