Package | Description |
---|---|
edu.umd.cs.piccolox.swing |
This package supports using Piccolo with JFC/Swing.
|
Modifier and Type | Class and Description |
---|---|
static class |
SwingLayoutNode.Anchor.AbstractAnchor |
Modifier and Type | Field and Description |
---|---|
static SwingLayoutNode.Anchor |
SwingLayoutNode.Anchor.CENTER
Anchors the node's center as the point used when laying it out.
|
static SwingLayoutNode.Anchor |
SwingLayoutNode.Anchor.EAST
Anchors the node's middle right as the point used when laying it out.
|
static SwingLayoutNode.Anchor |
SwingLayoutNode.Anchor.NORTH
Anchors the node's top center as the point used when laying it out.
|
static SwingLayoutNode.Anchor |
SwingLayoutNode.Anchor.NORTHEAST
Anchors the node's top right as the point used when laying it out.
|
static SwingLayoutNode.Anchor |
SwingLayoutNode.Anchor.NORTHWEST
Anchors the node's top left as the point used when laying it out.
|
static SwingLayoutNode.Anchor |
SwingLayoutNode.Anchor.SOUTH
Anchors the node's center bottom as the point used when laying it
out.
|
static SwingLayoutNode.Anchor |
SwingLayoutNode.Anchor.SOUTHEAST
Anchors the node's bottom right as the point used when laying it out.
|
static SwingLayoutNode.Anchor |
SwingLayoutNode.Anchor.SOUTHWEST
Anchors the node's bottom left as the point used when laying it out.
|
static SwingLayoutNode.Anchor |
SwingLayoutNode.Anchor.WEST
Anchors the node's middle left as the point used when laying it out.
|
Modifier and Type | Method and Description |
---|---|
SwingLayoutNode.Anchor |
SwingLayoutNode.getAnchor()
Returns the anchor being used by this LayoutManager.
|
Modifier and Type | Method and Description |
---|---|
void |
SwingLayoutNode.addChild(int index,
PNode child,
Object constraints,
SwingLayoutNode.Anchor childAnchor)
Adds a child at the specified index.
|
void |
SwingLayoutNode.addChild(int index,
PNode child,
SwingLayoutNode.Anchor anchor)
Adds a child at the specified index.
|
void |
SwingLayoutNode.addChild(PNode child,
Object constraints,
SwingLayoutNode.Anchor anchor)
Adds a child to the end of the node list.
|
void |
SwingLayoutNode.addChild(PNode child,
SwingLayoutNode.Anchor anchor)
Adds a child to the end of the node list.
|
void |
SwingLayoutNode.addChildren(Collection nodes,
Object constraints,
SwingLayoutNode.Anchor anchor)
Adds a collection of nodes to the end of the list.
|
void |
SwingLayoutNode.addChildren(Collection nodes,
SwingLayoutNode.Anchor anchor)
Adds a collection of nodes to the end of the list.
|
void |
SwingLayoutNode.setAnchor(SwingLayoutNode.Anchor anchor)
Sets the default anchor.
|
Copyright © 1995-2012 Piccolo2D. All Rights Reserved.