View RSS Feed

Recent Blogs Posts

  1. GridLayout

    by , 03-04-2012 at 05:23 PM
    All components are arranged by the Grid layout manager. This arrangement is done in grid of columns and rows. One of the given options may be selected.
    • Number of columns & rows shall be specified.
    • Only rows are specified and no. of columns will be determined by the layout manager.
    • Just columns are specified and no. of rows will be determined by layout manager.


    Objects present in the layout manager grid have equal sizes which are based at the gridís largest components. ...
    Tags: gridlayout Add / Edit Tags
    Categories
    Layout
  2. SWT Layout

    by , 11-10-2011 at 06:36 PM (My Java Tips)
    A layout controls the position and size of the children of a composite widget. This class is the abstract base class for layouts.


    Layout class constructor

    Layout()

    Following are details of all the methods of Layout class.

    1. protected abstract Point computeSize(Composite composite, int wHint, int hHint, boolean flushCache)

    Computes and returns the size of the specified composite's client area according to this layout. ...