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 booleanborderprotected Colorcolorprotected Stringdescriptionprotected StringfontNameprotected intfontSizeprotected intfontStyleprotected Stringnameprotected StringparentBorderIDprotected intxprotected intx2protected intyprotected inty2
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetBorder()Returns the dashed.ColorgetColor()Returns the color.StringgetDescription()Returns the description.StringgetFontName()Returns the fontName.intgetFontSize()Returns the fontSize.intgetFontStyle()Returns the fontStyle.StringgetName()Returns the name.StringgetParentBorderID()intgetX()Returns the x.intgetX2()Returns the x2.intgetY()Returns the y.intgetY2()Returns the y2.booleanisBorder()Returns the border.voidsetBorder(boolean border)Sets the border flag.voidsetColor(Color color)Sets the color.voidsetDescription(String description)Sets the description.voidsetFontName(String fontName)Sets the fontName.voidsetFontSize(int fontSize)Sets the fontSize.voidsetFontStyle(int fontStyle)Sets the fontStyle.voidsetName(String name)Sets the name.voidsetParentBorderID(String parentBorderID)voidsetX(int x)Sets the x.voidsetX2(int x2)Sets the x2.voidsetY(int y)Sets the y.voidsetY2(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.
-
-