|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcookxml.cookswing.helper.SpringHelper
Helper class for constructing a Spring object.
Spring,
SpringLayout,
SpringCreator,
SpringLayoutAdder| Field Summary | |
String |
get
get a spring from the component child. |
Integer |
max
to create a flexiable spring with the maximum size. |
Integer |
min
to create a flexiable spring with the minimum size. |
String |
op
the math operation that to be done to the child spring. |
static String |
OP_MAX
get the maximum spring of the child springs. |
static String |
OP_MINUS
get the difference of the child springs. |
static String |
OP_SUM
get the sum spring of the child springs. |
Integer |
pref
to create a flexiable spring with the preferred size. |
Integer |
size
to create a rigid spring of the fixed size. |
| Constructor Summary | |
SpringHelper()
|
|
| Method Summary | |
void |
add(Component c)
|
void |
add(Spring s)
|
Spring |
getSpring(SpringLayout layout)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static String OP_MAX
public static String OP_MINUS
public static String OP_SUM
public Integer size
public Integer min
public Integer max
public Integer pref
public String get
public String op
OP_MAX,
OP_MINUS,
OP_SUM| Constructor Detail |
public SpringHelper()
| Method Detail |
public Spring getSpring(SpringLayout layout)
public void add(Spring s)
public void add(Component c)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||