|
WUI : API |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.westofj.wui.Widget org.westofj.wui.WAbstractContainer
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 |
public WAbstractContainer()
Method Detail |
public Color getBackgroundColor()
public int getBorder()
public Color getBorderColor()
public WBorderStyle getBorderStyle()
public WLengthUnit getBorderUnit()
public Color getColor()
public WFont getFont()
public int getHeight()
public WLengthUnit getHeightUnit()
public int getPadding()
public WLengthUnit getPaddingUnit()
public int getSpacing()
public WLengthUnit getSpacingUnit()
public int getWidth()
public WLengthUnit getWidthUnit()
public void setBackgroundColor(Color backgroundColor)
backgroundColor
- the background color.public void setBorder(int border)
border
- the border scalar value.public void setBorder(int border, WLengthUnit borderUnit)
border
- the scalar value of the border.borderUnit
- the units of the scalar value.public void setBorder(int border, WLengthUnit borderUnit, Color borderColor, WBorderStyle borderStyle)
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.public void setBorderColor(Color borderColor)
borderColor
- The border color.public void setBorderStyle(WBorderStyle borderStyle)
borderStyle
- the border style.public void setBorderUnit(WLengthUnit borderUnit)
borderUnit
- the border unit type.public void setColor(Color color)
color
- The color to set.public void setFont(WFont font)
font
- The font to set.public void setHeight(int height)
height
- the height scalar value.public void setHeight(int height, WLengthUnit heightUnit)
height
- the scalar value of the height.heightUnit
- the units of the scalar value.public void setHeightUnit(WLengthUnit heightUnit)
heightUnit
- the height unit type.public void setPadding(int padding)
padding
- the padding scalar value.public void setPadding(int padding, WLengthUnit paddingUnit)
padding
- the scalar value of the padding.paddingUnit
- the units of the scalar value.public void setPaddingUnit(WLengthUnit paddingUnit)
paddingUnit
- the padding unit type.public void setSpacing(int spacing)
spacing
- the spacing scalar value.public void setSpacingUnit(WLengthUnit spacingUnit)
spacingUnit
- the spacing unit type.public void setWidth(int width)
width
- the width scalar value.public void setWidth(int width, WLengthUnit widthUnit)
width
- the scalar value of the wdith.widthUnit
- the units of the scalar value.public void setWidthUnit(WLengthUnit widthUnit)
widthUnit
- the width unit type.
|
Copyright (c) 2003 West of J - All rights reserved. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |