Class Surface


  extended by Object
      extended by Component
          extended by Flow
              extended by Surface

public class Surface
extends Flow

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).

Since:
3.0.0
See Also:
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

Surface

public Surface(Style style)
Constructs new Surface.

Since:
3.0.0