Package com.cosylab.vdct.db
Class DBPort
- java.lang.Object
-
- com.cosylab.vdct.db.DBComment
-
- com.cosylab.vdct.db.DBPort
-
public class DBPort extends DBComment
- Author:
- Matej
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColorgetColor()Returns the color.intgetDefaultVisibility()Returns the defaultVisibility.StringgetDescription()Returns the description.StringgetInLinkID()Returns the inLinkID.intgetMode()Returns the mode.StringgetName()Returns the name.StringgetTarget()Returns the target.intgetX()Returns the x.intgetY()Returns the y.booleanisHasVisual()Returns the hasVisual.booleanisNamePositionNorth()Returns the position of the text.voidsetColor(Color color)Sets the color.voidsetDefaultVisibility(int defaultVisibility)Sets the defaultVisibility.voidsetDescription(String description)Sets the description.voidsetHasVisual(boolean hasVisual)Sets the hasVisual.voidsetInLinkID(String inLinkID)Sets the inLinkID.voidsetMode(int mode)Sets the mode.voidsetName(String name)Sets the name.voidsetNamePositionNorth(boolean namePositionNorth)voidsetTarget(String target)Sets the target.voidsetX(int x)Sets the x.voidsetY(int y)Sets the y.-
Methods inherited from class com.cosylab.vdct.db.DBComment
getComment, setComment
-
-
-
-
Field Detail
-
name
protected String name
-
target
protected String target
-
description
protected String description
-
hasVisual
protected boolean hasVisual
-
x
protected int x
-
y
protected int y
-
mode
protected int mode
-
defaultVisibility
protected int defaultVisibility
-
color
protected Color color
-
inLinkID
protected String inLinkID
-
-
Method Detail
-
getName
public String getName()
Returns the name.- Returns:
- String
-
getTarget
public String getTarget()
Returns the target.- Returns:
- String
-
setName
public void setName(String name)
Sets the name.- Parameters:
name- The name to set
-
setTarget
public void setTarget(String target)
Sets the target.- Parameters:
target- The target to set
-
getDescription
public String getDescription()
Returns the description.- Returns:
- String
-
setDescription
public void setDescription(String description)
Sets the description.- Parameters:
description- The description to set
-
getColor
public Color getColor()
Returns the color.- Returns:
- java.awt.Color
-
isHasVisual
public boolean isHasVisual()
Returns the hasVisual.- Returns:
- boolean
-
getX
public int getX()
Returns the x.- Returns:
- int
-
getY
public int getY()
Returns the y.- Returns:
- int
-
setColor
public void setColor(Color color)
Sets the color.- Parameters:
color- The color to set
-
setHasVisual
public void setHasVisual(boolean hasVisual)
Sets the hasVisual.- Parameters:
hasVisual- The hasVisual to set
-
setX
public void setX(int x)
Sets the x.- Parameters:
x- The x to set
-
setY
public void setY(int y)
Sets the y.- Parameters:
y- The y to set
-
getInLinkID
public String getInLinkID()
Returns the inLinkID.- Returns:
- String
-
setInLinkID
public void setInLinkID(String inLinkID)
Sets the inLinkID.- Parameters:
inLinkID- The inLinkID to set
-
getMode
public int getMode()
Returns the mode.- Returns:
- int
-
setMode
public void setMode(int mode)
Sets the mode.- Parameters:
mode- The mode to set
-
getDefaultVisibility
public int getDefaultVisibility()
Returns the defaultVisibility.- Returns:
- int
-
setDefaultVisibility
public void setDefaultVisibility(int defaultVisibility)
Sets the defaultVisibility.- Parameters:
defaultVisibility- The defaultVisibility to set
-
setNamePositionNorth
public void setNamePositionNorth(boolean namePositionNorth)
- Parameters:
namePositionNorth- namePositionNorth
-
isNamePositionNorth
public boolean isNamePositionNorth()
Returns the position of the text.- Returns:
- something
-
-