org.wings
Class SScrollPaneLayout

java.lang.Object
  extended by org.wings.SAbstractLayoutManager
      extended by org.wings.SScrollPaneLayout
All Implemented Interfaces:
Serializable, Renderable, SConstants, SLayoutManager

public class SScrollPaneLayout
extends SAbstractLayoutManager

Internal layout manager used by SScrollPane

Version:
$Revision: 2994 $
Author:
hengels
See Also:
Serialized Form

Field Summary
static String EAST
           
static String NORTH
           
static String SOUTH
           
static String VIEWPORT
           
static String WEST
           
 
Fields inherited from class org.wings.SAbstractLayoutManager
border, cg, container, preferredSize
 
Fields inherited from interface org.wings.SConstants
BASELINE, BLOCK_ALIGN, BOTTOM, BOTTOM_ALIGN, CENTER, CENTER_ALIGN, HORIZONTAL, JUSTIFY, LEFT, LEFT_ALIGN, NO_ALIGN, RIGHT, RIGHT_ALIGN, TOP, TOP_ALIGN, UID_DIVIDER, VERTICAL
 
Constructor Summary
SScrollPaneLayout()
           
 
Method Summary
 void addComponent(SComponent component, Object constraint, int index)
          Adds a component to the layout manager
 void addSingletonComponent(SComponent component, Object constraint)
           
 Map getComponents()
          Returns a map of all components.
 boolean isPaging()
          Deprecated. Use org.wings.SScrollPane#isPaging()
 void removeComponent(SComponent c)
          Removes the component from the layout manager
 void setPaging(boolean paging)
          Deprecated. Use org.wings.SScrollPane#setPaging(boolean)
 
Methods inherited from class org.wings.SAbstractLayoutManager
getBorder, getCG, getContainer, getPreferredSize, setBorder, setCG, setContainer, setPreferredSize, updateCG, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VIEWPORT

public static final String VIEWPORT
See Also:
Constant Field Values

NORTH

public static final String NORTH
See Also:
Constant Field Values

WEST

public static final String WEST
See Also:
Constant Field Values

EAST

public static final String EAST
See Also:
Constant Field Values

SOUTH

public static final String SOUTH
See Also:
Constant Field Values
Constructor Detail

SScrollPaneLayout

public SScrollPaneLayout()
Method Detail

isPaging

public boolean isPaging()
Deprecated. Use org.wings.SScrollPane#isPaging()


setPaging

public void setPaging(boolean paging)
Deprecated. Use org.wings.SScrollPane#setPaging(boolean)


addSingletonComponent

public void addSingletonComponent(SComponent component,
                                  Object constraint)

addComponent

public void addComponent(SComponent component,
                         Object constraint,
                         int index)
Description copied from interface: SLayoutManager
Adds a component to the layout manager

Parameters:
component - The new component
constraint - A (sometimes optional) constraint object

removeComponent

public void removeComponent(SComponent c)
Removes the component from the layout manager

Parameters:
c - the component to be removed

getComponents

public Map getComponents()
Returns a map of all components.

Returns:
the components contained by the layout


wingS Swings ;-)