| Package | Description |
|---|---|
| com.google.code.validationframework.swing.decoration | |
| com.google.code.validationframework.swing.decoration.anchor |
| Constructor and Description |
|---|
AbstractComponentDecoration(JComponent decoratedComponent,
Anchor decoratedComponentAnchor,
Anchor decorationAnchor)
Constructor specifying the component to be decorated and the two anchors composing the anchor link between the
decorated component and its decoration.
|
IconComponentDecoration(JComponent owner,
Anchor ownerAnchor,
Anchor decorationAnchor)
Constructor specifying the component to be decorated and the anchor link with its owner (the decorated
component).
|
| Modifier and Type | Field and Description |
|---|---|
static Anchor |
Anchor.BOTTOM_LEFT
Convenient anchor representing a point at the bottom left hand corner.
|
static Anchor |
Anchor.BOTTOM_RIGHT
Convenient anchor representing a point at the bottom right hand corner.
|
static Anchor |
Anchor.CENTER
Convenient anchor representing a point at the center.
|
static Anchor |
Anchor.CENTER_BOTTOM
Convenient anchor representing a point at the center of the bottom edge.
|
static Anchor |
Anchor.CENTER_LEFT
Convenient anchor representing a point at the center of the right edge.
|
static Anchor |
Anchor.CENTER_RIGHT
Convenient anchor representing a point at the center of the right edge.
|
static Anchor |
Anchor.CENTER_TOP
Convenient anchor representing a point at the center of the top edge.
|
static Anchor |
Anchor.TOP_LEFT
Convenient anchor representing a point at the top left hand corner.
|
static Anchor |
Anchor.TOP_RIGHT
Convenient anchor representing a point at the top right hand corner.
|
| Modifier and Type | Method and Description |
|---|---|
Anchor |
AnchorLink.getMasterAnchor()
Gets the master anchor.
|
Anchor |
AnchorLink.getSlaveAnchor()
Gets the slave anchor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AnchorLink.setMasterAnchor(Anchor masterAnchor)
Sets the master anchor.
|
void |
AnchorLink.setSlaveAnchor(Anchor slaveAnchor)
Sets the slave anchor.
|
| Constructor and Description |
|---|
Anchor(Anchor anchor)
Constructor specifying an anchor to copy from.
|
AnchorLink(Anchor masterAnchor,
Anchor slaveAnchor)
Constructor specifying the master and slave anchors.
|
Copyright © 2015. All Rights Reserved.