Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Class uk.co.ist.mwt.TightPackedRCLayout

java.lang.Object
  |
  +--uk.co.ist.mwt.MarginLayoutManager
        |
        +--uk.co.ist.mwt.RowColLayout
              |
              +--uk.co.ist.mwt.TightPackedRCLayout

public class TightPackedRCLayout
extends RowColLayout
This layout manager (when attached to a Container) mimics the behaviour of a Motif XmRowColumn with XmNpacking set to XmPACK_TIGHT.

Irritatingly enough, a Motif XmRowColumn does with packing set to XmPACK_TIGHT does not quite map to a FlowLayout. Firstly, it can lay components out horizontally or vertically, and secondly, it can adjust the last column (row if horizontal) to fill all of the extra space horizontally (vertically).


Method Summary
void layoutContainer(java.awt.Container parent)
          Lays out the container.
 
Methods inherited from class uk.co.ist.mwt.RowColLayout
addLayoutComponent, getAdjustLast, getVertical, minimumLayoutSize, preferredLayoutSize, removeLayoutComponent, setAdjustLast, setVertical
 
Methods inherited from class uk.co.ist.mwt.MarginLayoutManager
addLayoutComponent, getMarginHeight, getMarginWidth, layoutContainer, minimumLayoutSize, preferredLayoutSize, removeLayoutComponent, setMarginHeight, setMarginWidth
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Method Detail

layoutContainer

public void layoutContainer(java.awt.Container parent)
Lays out the container.
Parameters:
parent - the component which needs to be laid out
Overrides:
layoutContainer in class MarginLayoutManager

Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD