Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## swarm.gui
Interface NodeItemC

All Known Subinterfaces:
  OvalNodeItemC, RectangleNodeItemC

All Known Implementing Classes:
  NodeItemCImpl, OvalNodeItemCImpl, RectangleNodeItemCImpl

public interface NodeItemC
extends CompositeItemC, CompositeItemS

A class for displaying a node on a Canvas.. A class for displaying a node on a Canvas. A NodeItem has a position, a font, color, border color and width.

Method Summary
`java.lang.Object` | `setFont(java.lang.String font)` Set the font with which to draw the label.
`java.lang.Object` | `setString(java.lang.String label)` Set the label to put on the node.
`java.lang.Object` | `setX$Y(int x, int y)` Set the position of the node.

Methods inherited from interface swarm.gui.CanvasAbstractItemC
`createBindings, createItem, setCanvas`

Methods inherited from interface swarm.defobj.CreateC
`create, createBegin, createEnd`

Methods inherited from interface swarm.defobj.CustomizeC
`customizeBegin, customizeCopy, customizeEnd`

Method Detail

### setString

    public java.lang.Object setString(java.lang.String label)

  Set the label to put on the node.

### setFont

    public java.lang.Object setFont(java.lang.String font)

  Set the font with which to draw the label.

### setX$Y

    public java.lang.Object setX$Y(int x,
                                   int y)

  Set the position of the node.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD