com.cosylab.vdct.db
Class DBPort

java.lang.Object
  extended by com.cosylab.vdct.db.DBComment
      extended by com.cosylab.vdct.db.DBPort

public class DBPort
extends DBComment

Author:
Matej

Field Summary
protected  java.awt.Color color
           
protected  int defaultVisibility
           
protected  java.lang.String description
           
protected  boolean hasVisual
           
protected  java.lang.String inLinkID
           
protected  int mode
           
protected  java.lang.String name
           
protected  java.lang.String target
           
protected  int x
           
protected  int y
           
 
Fields inherited from class com.cosylab.vdct.db.DBComment
comment
 
Constructor Summary
DBPort(java.lang.String name, java.lang.String target)
          Insert the method's description here.
 
Method Summary
 java.awt.Color getColor()
          Returns the color.
 int getDefaultVisibility()
          Returns the defaultVisibility.
 java.lang.String getDescription()
          Returns the description.
 java.lang.String getInLinkID()
          Returns the inLinkID.
 int getMode()
          Returns the mode.
 java.lang.String getName()
          Returns the name.
 java.lang.String getTarget()
          Returns the target.
 int getX()
          Returns the x.
 int getY()
          Returns the y.
 boolean isHasVisual()
          Returns the hasVisual.
 boolean isNamePositionNorth()
          Returns the position of the text.
 void setColor(java.awt.Color color)
          Sets the color.
 void setDefaultVisibility(int defaultVisibility)
          Sets the defaultVisibility.
 void setDescription(java.lang.String description)
          Sets the description.
 void setHasVisual(boolean hasVisual)
          Sets the hasVisual.
 void setInLinkID(java.lang.String inLinkID)
          Sets the inLinkID.
 void setMode(int mode)
          Sets the mode.
 void setName(java.lang.String name)
          Sets the name.
 void setNamePositionNorth(boolean namePositionNorth)
           
 void setTarget(java.lang.String target)
          Sets the target.
 void setX(int x)
          Sets the x.
 void setY(int y)
          Sets the y.
 
Methods inherited from class com.cosylab.vdct.db.DBComment
getComment, setComment
 
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

target

protected java.lang.String target

description

protected java.lang.String description

hasVisual

protected boolean hasVisual

x

protected int x

y

protected int y

mode

protected int mode

defaultVisibility

protected int defaultVisibility

color

protected java.awt.Color color

inLinkID

protected java.lang.String inLinkID
Constructor Detail

DBPort

public DBPort(java.lang.String name,
              java.lang.String target)
Insert the method's description here.

Method Detail

getName

public java.lang.String getName()
Returns the name.

Returns:
String

getTarget

public java.lang.String getTarget()
Returns the target.

Returns:
String

setName

public void setName(java.lang.String name)
Sets the name.

Parameters:
name - The name to set

setTarget

public void setTarget(java.lang.String target)
Sets the target.

Parameters:
target - The target to set

getDescription

public java.lang.String getDescription()
Returns the description.

Returns:
String

setDescription

public void setDescription(java.lang.String description)
Sets the description.

Parameters:
description - The description to set

getColor

public java.awt.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(java.awt.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 java.lang.String getInLinkID()
Returns the inLinkID.

Returns:
String

setInLinkID

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

isNamePositionNorth

public boolean isNamePositionNorth()
Returns the position of the text.

Returns: