|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.simplegamenet.util.proportionlayout.ProportionLinePart
Field Summary | |
(package private) static int |
CENTER
Put the component in the center of its display area. |
(package private) static int |
COLUMN
|
(package private) Component |
component
|
(package private) int |
extendGridX
|
(package private) static int |
FILL
Resize the component both horizontally and vertically. |
(package private) int |
gridWidth
|
(package private) int |
gridX
|
(package private) static int |
LEFT
Put the component at the left of its display area, centered horizontally. |
(package private) static int |
NONE
Do not resize the component. |
(package private) static int |
RIGHT
Put the component at right of its display area. |
(package private) static int |
ROW
|
Constructor Summary | |
(package private) |
ProportionLinePart(int lineType,
Component component,
int minimumWidth,
int gridX,
int gridWidth,
int extendGridX,
int anchor,
int fill,
int insetLeft,
int insetRight)
Creates a new instance of ProportionLinePart |
Method Summary | |
int |
compareTo(Object object)
|
boolean |
equals(Object object)
|
(package private) int |
getMinimumWidth()
|
(package private) int |
getPreferredWidth()
|
(package private) int |
getWidth(ArrayList lines,
int componentWidth)
|
(package private) int |
getX(ArrayList lines,
int componentWidth)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static final int COLUMN
static final int ROW
static final int NONE
static final int FILL
static final int CENTER
static final int LEFT
static final int RIGHT
Component component
int gridX
int gridWidth
int extendGridX
Constructor Detail |
ProportionLinePart(int lineType, Component component, int minimumWidth, int gridX, int gridWidth, int extendGridX, int anchor, int fill, int insetLeft, int insetRight)
Method Detail |
int getMinimumWidth()
int getPreferredWidth()
int getX(ArrayList lines, int componentWidth)
int getWidth(ArrayList lines, int componentWidth)
public boolean equals(Object object)
public int compareTo(Object object)
compareTo
in interface Comparable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |