org.montsuqi.widgets
Class GtkBoxLayout

java.lang.Object
  extended by javax.swing.BoxLayout
      extended by org.montsuqi.widgets.GtkBoxLayout
All Implemented Interfaces:
java.awt.LayoutManager, java.awt.LayoutManager2, java.io.Serializable

public class GtkBoxLayout
extends javax.swing.BoxLayout

A layout manager that simulates Gtk+'s Box.

See Also:
Serialized Form

Field Summary
(package private)  int axis
           
 
Fields inherited from class javax.swing.BoxLayout
LINE_AXIS, PAGE_AXIS, X_AXIS, Y_AXIS
 
Constructor Summary
GtkBoxLayout(java.awt.Container target, int axis)
           
 
Method Summary
 void layoutContainer(java.awt.Container target)
           
 
Methods inherited from class javax.swing.BoxLayout
addLayoutComponent, addLayoutComponent, getAxis, getLayoutAlignmentX, getLayoutAlignmentY, getTarget, invalidateLayout, maximumLayoutSize, minimumLayoutSize, preferredLayoutSize, removeLayoutComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

axis

int axis
Constructor Detail

GtkBoxLayout

public GtkBoxLayout(java.awt.Container target,
                    int axis)
Method Detail

layoutContainer

public void layoutContainer(java.awt.Container target)
Specified by:
layoutContainer in interface java.awt.LayoutManager
Overrides:
layoutContainer in class javax.swing.BoxLayout