| Package | Description |
|---|---|
| com.google.code.validationframework.swing.decoration | |
| com.google.code.validationframework.swing.decoration.anchor |
| Constructor and Description |
|---|
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
Convenience anchor representing a point at the bottom left hand corner.
|
static Anchor |
Anchor.BOTTOM_RIGHT
Convenience anchor representing a point at the bottom right hand corner.
|
static Anchor |
Anchor.CENTER
Convenience anchor representing a point at the center.
|
static Anchor |
Anchor.TOP_LEFT
Convenience anchor representing a point at the top left hand corner.
|
static Anchor |
Anchor.TOP_RIGHT
Convenience 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 © 2014. All Rights Reserved.