|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.inspector.layout.SimpleElement oracle.ide.inspector.layout.Spring
public abstract class Spring
A Spring
controls distance between properties in a
Row
element.
In general, a Property
encapsulates the property label, and a
property editor UI. The size of these UI componets is controlled by the
JComponent.getPreferredSize()
,
JComponent.getMinimumSize()
, and the
JComponent.getMaximumSize()
method.
To control the distance between two properties, an edge and a property
place a Spring
object between the properties or the property and
the edge. The getPreferredLength()
, getMinimumLength()
,
and getMaximumLength()
controls the behavior of the spring
object according to the rules of the Spring
object.
Field Summary | |
---|---|
static java.lang.String |
MAXIMUM_LENGTH
|
static java.lang.String |
MINIMUM_LENGTH
|
static java.lang.String |
PREFERRED_LENGTH
|
static java.lang.String |
SPRING
|
Fields inherited from interface oracle.ide.inspector.layout.Element |
---|
EXTENDS, ID, PART_OF |
Constructor Summary | |
---|---|
Spring()
|
Method Summary | |
---|---|
abstract int |
getMaximumLength()
Get the maximum length of the Spring . |
abstract int |
getMinimumLength()
Get the minimum length of the Spring . |
abstract int |
getPreferredLength()
Get the preferred length of the Spring . |
java.lang.String |
toString()
|
Methods inherited from class oracle.ide.inspector.layout.SimpleElement |
---|
getChildren, getExtensible, isExtensible, mayHaveChildren |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SPRING
public static final java.lang.String PREFERRED_LENGTH
public static final java.lang.String MINIMUM_LENGTH
public static final java.lang.String MAXIMUM_LENGTH
Constructor Detail |
---|
public Spring()
Method Detail |
---|
public abstract int getPreferredLength()
Spring
.
Spring
.public abstract int getMinimumLength()
Spring
.
Spring
.public abstract int getMaximumLength()
Spring
.
Spring
.public java.lang.String toString()
toString
in class java.lang.Object
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |