|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.swtlayeredgraph.LayerDrawable
net.sourceforge.swtlayeredgraph.LayerGroup
public class LayerGroup
Defines a base implementation for a layer group. This allows for a group of objects to be treated as a single object on the layer.
| Field Summary |
|---|
| Fields inherited from class net.sourceforge.swtlayeredgraph.LayerDrawable |
|---|
componentType, extentPointList |
| Constructor Summary | |
|---|---|
LayerGroup()
Default constructor. |
|
LayerGroup(java.lang.String name)
Builds a new layer group with the specified name. |
|
| Method Summary | |
|---|---|
void |
draw(GCTransformer transformer)
Draws this object on the GC in the transformer (if visible). |
void |
drawHover(GCTransformer transformer)
Draws this object, as an object that has the mouse over it, on the GC in the transformer (if visible). |
void |
drawSelected(GCTransformer transformer)
Draws this object, as a selected object, on the GC in the transformer (if visible). |
LayerContainer<LayerDrawable> |
getContainer()
Gets the internal container that handles layer management. |
void |
move(java.lang.Double dx,
java.lang.Double dy,
CoordinateType type)
Moves the layer object by the specified x and y deltas. |
| Methods inherited from class net.sourceforge.swtlayeredgraph.LayerDrawable |
|---|
addExtentChangeListener, addExtentPoint, addNameChangeListner, clearExtents, getExtents, getName, handleMouseDoubleClick, handleMouseDown, handleMouseMove, handleMouseUp, isDirty, isDrawable, isFocused, isGroup, isLayer, isSelected, isVisible, recalculateExtents, removeExtentChangeListener, removeNameChangeListener, setDirty, setFocused, setName, setSelected, setVisible |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LayerGroup()
public LayerGroup(java.lang.String name)
name - Name of the new layer to add.| Method Detail |
|---|
public void draw(GCTransformer transformer)
draw in class LayerDrawabletransformer - GC Transformer for the device to draw on.
public void move(java.lang.Double dx,
java.lang.Double dy,
CoordinateType type)
move in class LayerDrawabledx - X Deltady - Y Deltatype - Type of coordinate system for X & Ypublic void drawHover(GCTransformer transformer)
drawHover in class LayerDrawabletransformer - GC Transformer for the device to draw on.public void drawSelected(GCTransformer transformer)
drawSelected in class LayerDrawabletransformer - GC Transformer for the device to draw on.public LayerContainer<LayerDrawable> getContainer()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||