WUI : API


org.westofj.wui
Class WAbstractContainer

java.lang.Object
  extended byorg.westofj.wui.Widget
      extended byorg.westofj.wui.WAbstractContainer
Direct Known Subclasses:
WContainer, WMapContainer

public abstract class WAbstractContainer
extends Widget

Author:
bill

Constructor Summary
WAbstractContainer()
          Default CTOR.
 
Method Summary
 Color getBackgroundColor()
          Returns the background color.
 int getBorder()
          Returns the border scalar value.
 Color getBorderColor()
          Returns the border color.
 WBorderStyle getBorderStyle()
          Returns the style of the border.
 WLengthUnit getBorderUnit()
          Returns the border unit type.
 Color getColor()
          Returns the color.
 WFont getFont()
          Returns the font.
 int getHeight()
          Returns the height scalar value
 WLengthUnit getHeightUnit()
          Returns the height unit type.
 int getPadding()
          Returns the padding scalar value
 WLengthUnit getPaddingUnit()
          Returns the padding unit type.
 int getSpacing()
          Returns the spacing scalar value.
 WLengthUnit getSpacingUnit()
          Returns the spacing unit type.
 int getWidth()
          Returns the width unit scalar value.
 WLengthUnit getWidthUnit()
          Returns the width unit type.
 void setBackgroundColor(Color backgroundColor)
          Sets the background color.
 void setBorder(int border)
          Sets the border scalar value.
 void setBorder(int border, WLengthUnit borderUnit)
          Sets the border.
 void setBorder(int border, WLengthUnit borderUnit, Color borderColor, WBorderStyle borderStyle)
          Sets the border.
 void setBorderColor(Color borderColor)
          Sets the border color.
 void setBorderStyle(WBorderStyle borderStyle)
          Sets the border style.
 void setBorderUnit(WLengthUnit borderUnit)
          Sets the border unit type.
 void setColor(Color color)
          Sets the color.
 void setFont(WFont font)
          Sets the font.
 void setHeight(int height)
          Sets the height scalar value.
 void setHeight(int height, WLengthUnit heightUnit)
          Sets the height.
 void setHeightUnit(WLengthUnit heightUnit)
          Sets the height unit type.
 void setPadding(int padding)
          Sets the padding scalar value.
 void setPadding(int padding, WLengthUnit paddingUnit)
          Sets the padding.
 void setPaddingUnit(WLengthUnit paddingUnit)
          Sets the padding unit type.
 void setSpacing(int spacing)
          Sets the spacing scalar value.
 void setSpacingUnit(WLengthUnit spacingUnit)
          Sets the spacing unit type.
 void setWidth(int width)
          Sets the width scalar value.
 void setWidth(int width, WLengthUnit widthUnit)
          Sets the width.
 void setWidthUnit(WLengthUnit widthUnit)
          Sets the width unit type.
 
Methods inherited from class org.westofj.wui.Widget
addChangeListener, getRunner, handleNoParams, handleParams, hasChangeListeners, removeChangeListener, render, stateChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WAbstractContainer

public WAbstractContainer()
Default CTOR.

Method Detail

getBackgroundColor

public Color getBackgroundColor()
Returns the background color.

Returns:
Returns the background color.

getBorder

public int getBorder()
Returns the border scalar value.

Returns:
Returns the border scalar value.

getBorderColor

public Color getBorderColor()
Returns the border color.

Returns:
Returns the border color.

getBorderStyle

public WBorderStyle getBorderStyle()
Returns the style of the border.

Returns:
Returns the style of the border.

getBorderUnit

public WLengthUnit getBorderUnit()
Returns the border unit type.

Returns:
Returns the border unit type.

getColor

public Color getColor()
Returns the color.

Returns:
Returns the color.

getFont

public WFont getFont()
Returns the font.

Returns:
Returns the font.

getHeight

public int getHeight()
Returns the height scalar value

Returns:
Returns the height scalar value.

getHeightUnit

public WLengthUnit getHeightUnit()
Returns the height unit type.

Returns:
Returns the height unit type.

getPadding

public int getPadding()
Returns the padding scalar value

Returns:
Returns the padding scalar value.

getPaddingUnit

public WLengthUnit getPaddingUnit()
Returns the padding unit type.

Returns:
Returns the padding unit type.

getSpacing

public int getSpacing()
Returns the spacing scalar value.

Returns:
Returns the spacing scalar value.

getSpacingUnit

public WLengthUnit getSpacingUnit()
Returns the spacing unit type.

Returns:
Returns the spacing unit type.

getWidth

public int getWidth()
Returns the width unit scalar value.

Returns:
Returns the width scalar value.

getWidthUnit

public WLengthUnit getWidthUnit()
Returns the width unit type.

Returns:
Returns the width unit type.

setBackgroundColor

public void setBackgroundColor(Color backgroundColor)
Sets the background color.

Parameters:
backgroundColor - the background color.

setBorder

public void setBorder(int border)
Sets the border scalar value.

Parameters:
border - the border scalar value.

setBorder

public void setBorder(int border,
                      WLengthUnit borderUnit)
Sets the border.

Parameters:
border - the scalar value of the border.
borderUnit - the units of the scalar value.

setBorder

public void setBorder(int border,
                      WLengthUnit borderUnit,
                      Color borderColor,
                      WBorderStyle borderStyle)
Sets the border.

Parameters:
border - the scalar value of the border.
borderUnit - the units of the scalar value.
borderColor - the color of the border.
borderStyle - the style of the border.

setBorderColor

public void setBorderColor(Color borderColor)
Sets the border color.

Parameters:
borderColor - The border color.

setBorderStyle

public void setBorderStyle(WBorderStyle borderStyle)
Sets the border style.

Parameters:
borderStyle - the border style.

setBorderUnit

public void setBorderUnit(WLengthUnit borderUnit)
Sets the border unit type.

Parameters:
borderUnit - the border unit type.

setColor

public void setColor(Color color)
Sets the color.

Parameters:
color - The color to set.

setFont

public void setFont(WFont font)
Sets the font.

Parameters:
font - The font to set.

setHeight

public void setHeight(int height)
Sets the height scalar value.

Parameters:
height - the height scalar value.

setHeight

public void setHeight(int height,
                      WLengthUnit heightUnit)
Sets the height.

Parameters:
height - the scalar value of the height.
heightUnit - the units of the scalar value.

setHeightUnit

public void setHeightUnit(WLengthUnit heightUnit)
Sets the height unit type.

Parameters:
heightUnit - the height unit type.

setPadding

public void setPadding(int padding)
Sets the padding scalar value.

Parameters:
padding - the padding scalar value.

setPadding

public void setPadding(int padding,
                       WLengthUnit paddingUnit)
Sets the padding.

Parameters:
padding - the scalar value of the padding.
paddingUnit - the units of the scalar value.

setPaddingUnit

public void setPaddingUnit(WLengthUnit paddingUnit)
Sets the padding unit type.

Parameters:
paddingUnit - the padding unit type.

setSpacing

public void setSpacing(int spacing)
Sets the spacing scalar value.

Parameters:
spacing - the spacing scalar value.

setSpacingUnit

public void setSpacingUnit(WLengthUnit spacingUnit)
Sets the spacing unit type.

Parameters:
spacingUnit - the spacing unit type.

setWidth

public void setWidth(int width)
Sets the width scalar value.

Parameters:
width - the width scalar value.

setWidth

public void setWidth(int width,
                     WLengthUnit widthUnit)
Sets the width.

Parameters:
width - the scalar value of the wdith.
widthUnit - the units of the scalar value.

setWidthUnit

public void setWidthUnit(WLengthUnit widthUnit)
Sets the width unit type.

Parameters:
widthUnit - the width unit type.

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