WUI : API


org.westofj.wui
Class WMapContainer

java.lang.Object
  extended byorg.westofj.wui.Widget
      extended byorg.westofj.wui.WAbstractContainer
          extended byorg.westofj.wui.WMapContainer

public class WMapContainer
extends WAbstractContainer

Author:
bill To change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code and Comments

Constructor Summary
WMapContainer()
           
 
Method Summary
 void clear()
           
 boolean containsKey(String key)
           
 boolean containsWidget(Widget value)
           
 Widget get(String key)
           
 WMapLayoutManager getLayoutManager()
          Returns the layout manager.
 List getWidgets()
           
 boolean isEmpty()
           
 Set keySet()
           
 Widget put(String key, Widget value)
           
 Widget remove(String key)
           
 void render(WRunner runner, WRenderContext context, PrintWriter out)
          Renders the widget to the display.
 void setLayoutManager(WMapLayoutManager layoutManager)
          Sets the layout manager.
 int size()
           
 
Methods inherited from class org.westofj.wui.WAbstractContainer
getBackgroundColor, getBorder, getBorderColor, getBorderStyle, getBorderUnit, getColor, getFont, getHeight, getHeightUnit, getPadding, getPaddingUnit, getSpacing, getSpacingUnit, getWidth, getWidthUnit, setBackgroundColor, setBorder, setBorder, setBorder, setBorderColor, setBorderStyle, setBorderUnit, setColor, setFont, setHeight, setHeight, setHeightUnit, setPadding, setPadding, setPaddingUnit, setSpacing, setSpacingUnit, setWidth, setWidth, setWidthUnit
 
Methods inherited from class org.westofj.wui.Widget
addChangeListener, getRunner, handleNoParams, handleParams, hasChangeListeners, removeChangeListener, stateChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WMapContainer

public WMapContainer()
Method Detail

render

public void render(WRunner runner,
                   WRenderContext context,
                   PrintWriter out)
            throws WRenderException
Description copied from class: Widget
Renders the widget to the display.

Specified by:
render in class Widget
Parameters:
runner - the current runner context.
out - the output for the display.
Throws:
WRenderException

clear

public void clear()

containsKey

public boolean containsKey(String key)

containsWidget

public boolean containsWidget(Widget value)

get

public Widget get(String key)

isEmpty

public boolean isEmpty()

keySet

public Set keySet()

put

public Widget put(String key,
                  Widget value)

remove

public Widget remove(String key)

size

public int size()

getWidgets

public List getWidgets()

getLayoutManager

public WMapLayoutManager getLayoutManager()
Returns the layout manager.

Returns:
Returns the layout manager.

setLayoutManager

public void setLayoutManager(WMapLayoutManager layoutManager)
Sets the layout manager.

Parameters:
layoutManager - the layout manager.

Copyright (c) 2003 West of J - All rights reserved.