| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.niffty.ReferencePointOverride
A ReferencePointOverride has an anchor horizontal, dependent horizontal, anchor vertical and dependent vertical. Always used in combination with either Absolute Placement or Logical Placement tags.
| Field Summary | |
| static int | BOTTOM | 
| static int | DEFAULT | 
| static int | HORIZONTAL_CENTER | 
| static int | LEFT | 
| static int | RIGHT | 
| static int | TOP | 
| static int | VERTICAL_CENTER | 
| Constructor Summary | |
| ReferencePointOverride()Creates new ReferencePointOverride with all zero values | |
| ReferencePointOverride(int anchorHorizontal,
                       int dependentHorizontal,
                       int anchorVertical,
                       int dependentVertical)Creates new ReferencePointOverride with the given values. | |
| Method Summary | |
|  int | getAnchorHorizontal()Return the anchor horizontal value, which is DEFAULT, LEFT, RIGHT or HORIZONTAL_CENTER. | 
|  int | getAnchorVertical()Return the anchor vertical value, which is DEFAULT, TOP, BOTTOM or VERTICAL_CENTER. | 
|  int | getDependentHorizontal()Return the dependent horizontal value, which is DEFAULT, LEFT, RIGHT or HORIZONTAL_CENTER. | 
|  int | getDependentVertical()Return the dependent vertical value, which is DEFAULT, TOP, BOTTOM or VERTICAL_CENTER. | 
|  java.lang.String | toString()Returns string as "(anchor horizontal:value, dependent horizontal:value, anchor vertical:value, dependent vertical:value)" | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
public static final int DEFAULT
public static final int LEFT
public static final int RIGHT
public static final int HORIZONTAL_CENTER
public static final int TOP
public static final int BOTTOM
public static final int VERTICAL_CENTER
| Constructor Detail | 
public ReferencePointOverride()
public ReferencePointOverride(int anchorHorizontal,
                              int dependentHorizontal,
                              int anchorVertical,
                              int dependentVertical)
anchorHorizontal - anchor horizontal. Must be DEFAULT, LEFT, RIGHT or HORIZONTAL_CENTER.dependentHorizontal - dependent horizontal. Must be DEFAULT, LEFT, RIGHT or HORIZONTAL_CENTER.anchorVertical - anchor vertical. Must be DEFAULT, TOP, BOTTOM or VERTICAL_CENTER.dependentVertical - anchor vertical. Must be DEFAULT, TOP, BOTTOM or VERTICAL_CENTER.| Method Detail | 
public int getAnchorHorizontal()
public int getDependentHorizontal()
public int getAnchorVertical()
public int getDependentVertical()
public java.lang.String toString()
toString in class java.lang.Object| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||