info.joseluismartin.vaadin.ui
Class Box

java.lang.Object
  extended by info.joseluismartin.vaadin.ui.Box

public abstract class Box
extends Object

Utility class for work with box layouts

Author:
Jose Luis Martin - (jlm@joseluismartin.info)

Constructor Summary
Box()
           
 
Method Summary
static void addHorizontalGlue(com.vaadin.ui.AbstractOrderedLayout layout)
          Try to imitate a HorizalGlue of Swing BoxLayout.
static void addHorizontalStruct(com.vaadin.ui.AbstractOrderedLayout layout, int width)
          Try to imitate HorizontalStruct on Swing BoxLayout
static void addVerticalGlue(com.vaadin.ui.AbstractOrderedLayout layout)
          Try to imitate a VerticalGlue of Swing BoxLayout
static void addVerticalStruct(com.vaadin.ui.AbstractOrderedLayout layout, int height)
          Try to imitate VerticalStruct of Swing BoxLayout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Box

public Box()
Method Detail

addHorizontalGlue

public static void addHorizontalGlue(com.vaadin.ui.AbstractOrderedLayout layout)
Try to imitate a HorizalGlue of Swing BoxLayout. A invisible component that get all extra space.

Parameters:
layout - layout to add glue

addVerticalGlue

public static void addVerticalGlue(com.vaadin.ui.AbstractOrderedLayout layout)
Try to imitate a VerticalGlue of Swing BoxLayout


addHorizontalStruct

public static void addHorizontalStruct(com.vaadin.ui.AbstractOrderedLayout layout,
                                       int width)
Try to imitate HorizontalStruct on Swing BoxLayout

Parameters:
layout - Layout to add the struct
width - struct withd

addVerticalStruct

public static void addVerticalStruct(com.vaadin.ui.AbstractOrderedLayout layout,
                                     int height)
Try to imitate VerticalStruct of Swing BoxLayout

Parameters:
layout - layout to add struct
height - struct height


Copyright © 2012 JDAL. All Rights Reserved.