|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
Object
Component
Flow
Surface
public class Surface
Surface is container that allows free positioning and sizing of contained components.
There is no automatic layout computation, each of child components must have position and
size set using Component.setLocation(int, int), Component.setPreferredSize(int, int).
Child components can be hidden/shown using VISIBLE flag, width of child components must
be either absolute or relative (percentual) and height can absolute, relative or zero (in which case the
height is calculated dynamically).
Component.getLocation(),
Component.getSize()| Constructor Summary | |
|---|---|
Surface(Style style)
Constructs new Surface. |
|
| Method Summary |
|---|
| Methods inherited from class Component |
|---|
add, appendText, clear, find, first, get, getAction, getData, getElement, getFlags, getImage, getLocation, getParent, getShell, getSize, getStyle, getText, getViewPort, hasLinefeed, indexOf, insert, isFocusable, isShown, isVisible, isWrapping, last, operator_get, operator_set, remove, remove, repaint, set, setAction, setData, setElement, setFlags, setImage, setLocation, setPreferredHeight, setPreferredSize, setPreferredWidth, setStyle, setText, size |
| Methods inherited from class Object |
|---|
toString, equals, hashCode |
| Methods inherited from |
|---|
equals, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Surface(Style style)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||