public class ViewerWire
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.awt.Color |
RED_THREAD |
Constructor and Description |
---|
ViewerWire(Port sourcePort,
ViewerBox source,
java.lang.String targetPortName,
ViewerBox target) |
ViewerWire(Port sourcePort,
ViewerBox source,
ViewerBox target) |
ViewerWire(ViewerBox source,
ViewerBox target) |
ViewerWire(ViewerBox source,
ViewerBox target,
int x,
int count) |
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getColor() |
int |
getDestinationCount() |
int |
getDestinationIndex() |
ViewerBox |
getSource() |
Port |
getSourcePort() |
java.lang.String |
getSourcePortName() |
ViewerBox |
getTarget() |
java.lang.String |
getTargetPortName() |
boolean |
isDashed() |
boolean |
isDotted() |
boolean |
isVisible() |
void |
setColor(java.awt.Color color) |
void |
setDashed(boolean dashed) |
void |
setVisible(boolean b) |
java.lang.String |
toString() |
public java.awt.Color getColor()
public void setColor(java.awt.Color color)
public ViewerBox getSource()
public ViewerBox getTarget()
public java.lang.String toString()
toString
in class java.lang.Object
public void setVisible(boolean b)
public boolean isVisible()
public boolean isDotted()
public Port getSourcePort()
public java.lang.String getSourcePortName()
public java.lang.String getTargetPortName()
public int getDestinationIndex()
public int getDestinationCount()
public void setDashed(boolean dashed)
public boolean isDashed()