xmltool.gui
Class Link
java.lang.Object
|
+--xmltool.gui.Link
- public class Link
- extends java.lang.Object
The Link class allows links to be created. It is used to link
between any two query boxes.
|
Constructor Summary |
Link()
Construct an empty link. |
Link(java.awt.geom.Point2D.Float[] location)
Construct and initialize a node. |
|
Method Summary |
static int |
getLinkCount()
Get methods for the counters |
void |
loadLink(java.io.ObjectInputStream in)
Load this link's state. |
static void |
reset()
Reset the counters. |
void |
saveLink(java.io.ObjectOutputStream out)
Save this link's state. |
static void |
setLinkCount(int c)
Set methods for the counters |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
edgePt
public java.awt.geom.Point2D.Float[] edgePt
joinCondition
public java.lang.String joinCondition
linkName
public java.lang.String linkName
Link
public Link()
- Construct an empty link.
Link
public Link(java.awt.geom.Point2D.Float[] location)
- Construct and initialize a node.
- Parameters:
location - location (top left) of node
reset
public static void reset()
- Reset the counters.
setLinkCount
public static void setLinkCount(int c)
- Set methods for the counters
getLinkCount
public static int getLinkCount()
- Get methods for the counters
saveLink
public void saveLink(java.io.ObjectOutputStream out)
throws java.io.IOException
- Save this link's state.
- Parameters:
out - output stream- Throws:
- java.io.IOException - can't write output
loadLink
public void loadLink(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Load this link's state.
- Parameters:
in - input stream- Throws:
- java.io.IOException - can't read input
- java.io.IOException - can't find class