Package com.cosylab.vdct.db
Class DBTextBox
- java.lang.Object
-
- com.cosylab.vdct.db.DBTextBox
-
public class DBTextBox extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
border
protected Color
color
protected String
description
protected String
fontName
protected int
fontSize
protected int
fontStyle
protected String
name
protected String
parentBorderID
protected int
x
protected int
x2
protected int
y
protected int
y2
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getBorder()
Returns the dashed.Color
getColor()
Returns the color.String
getDescription()
Returns the description.String
getFontName()
Returns the fontName.int
getFontSize()
Returns the fontSize.int
getFontStyle()
Returns the fontStyle.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
isBorder()
Returns the border.void
setBorder(boolean border)
Sets the border flag.void
setColor(Color color)
Sets the color.void
setDescription(String description)
Sets the description.void
setFontName(String fontName)
Sets the fontName.void
setFontSize(int fontSize)
Sets the fontSize.void
setFontStyle(int fontStyle)
Sets the fontStyle.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.
-
-
-
Field Detail
-
name
protected String name
-
x
protected int x
-
y
protected int y
-
x2
protected int x2
-
y2
protected int y2
-
border
protected boolean border
-
fontName
protected String fontName
-
fontSize
protected int fontSize
-
fontStyle
protected int fontStyle
-
color
protected Color color
-
description
protected String description
-
parentBorderID
protected String parentBorderID
-
-
Constructor Detail
-
DBTextBox
public DBTextBox(String name, int x, int y, int x2, int y2, boolean border, String fontName, int fontSize, int fontStyle, Color color, String description, String parentBorderID)
Insert the method's description here. Creation date: (23.4.2001 21:12:09)- Parameters:
name
- namex
- xy
- yfontStyle
- fontStylecolor
- colorborder
- borderx2
- x2fontSize
- fontSizey2
- y2fontName
- fontNamedescription
- descriptionparentBorderID
- parentBorderID
-
-
Method Detail
-
getColor
public Color getColor()
Returns the color.- Returns:
- Color
-
getBorder
public boolean getBorder()
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
-
setBorder
public void setBorder(boolean border)
Sets the border flag.- Parameters:
border
- border
-
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
-
isBorder
public boolean isBorder()
Returns the border.- Returns:
- boolean
-
getDescription
public String getDescription()
Returns the description.- Returns:
- String
-
getFontName
public String getFontName()
Returns the fontName.- Returns:
- String
-
getFontSize
public int getFontSize()
Returns the fontSize.- Returns:
- int
-
setDescription
public void setDescription(String description)
Sets the description.- Parameters:
description
- The description to set
-
setFontName
public void setFontName(String fontName)
Sets the fontName.- Parameters:
fontName
- The fontName to set
-
setFontSize
public void setFontSize(int fontSize)
Sets the fontSize.- Parameters:
fontSize
- The fontSize to set
-
getFontStyle
public int getFontStyle()
Returns the fontStyle.- Returns:
- int
-
setFontStyle
public void setFontStyle(int fontStyle)
Sets the fontStyle.- Parameters:
fontStyle
- The fontStyle to set
-
getParentBorderID
public String getParentBorderID()
- Returns:
- Returns the parentBorderID.
-
setParentBorderID
public void setParentBorderID(String parentBorderID)
- Parameters:
parentBorderID
- The parentBorderID to set.
-
-