WUI : API


org.westofj.wui
Class WRenderContext

java.lang.Object
  extended byorg.westofj.wui.WRenderContext

public class WRenderContext
extends Object

TODO: Add Border Style? TODO: Add Border Width? But what then indicates that a border is desired?

Version:
$Revision: 1.3 $
Author:
bill

Constructor Summary
WRenderContext()
           
 
Method Summary
 WRenderContext copy()
           
 Color getActiveBackgroundColor()
           
 Color getActiveColor()
           
 Color getBackgroundColor()
           
 Color getBorderColor()
           
 Color getColor()
           
 WFont getFont()
           
 Color getHoverBackgroundColor()
           
 Color getInactiveBackgroundColor()
           
 Color getInactiveColor()
          Returns the inactive color.
 Color getLinkColor()
           
 Color getSelectedBackgroundColor()
           
 Color getSelectedColor()
           
 void setActiveBackgroundColor(Color activeBackgroundColor)
           
 void setActiveColor(Color activeColor)
           
 void setBackgroundColor(Color backgroundColor)
           
 void setBorderColor(Color borderColor)
           
 void setColor(Color color)
           
 void setFont(WFont font)
           
 void setHoverBackgroundColor(Color hoverBackgroundColor)
           
 void setInactiveBackgroundColor(Color inactiveBackgroundColor)
           
 void setInactiveColor(Color inactiveColor)
           
 void setLinkColor(Color linkColor)
           
 void setSelectedBackgroundColor(Color selectedBackgroundColor)
           
 void setSelectedColor(Color selectedColor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WRenderContext

public WRenderContext()
Method Detail

copy

public WRenderContext copy()

getActiveBackgroundColor

public Color getActiveBackgroundColor()
Returns:
Returns the activeBackgroundColor.

getActiveColor

public Color getActiveColor()
Returns:
Returns the activeColor.

getBackgroundColor

public Color getBackgroundColor()
Returns:
Returns the backgroundColor.

getBorderColor

public Color getBorderColor()
Returns:
Returns the borderColor.

getColor

public Color getColor()
Returns:
Returns the color.

getFont

public WFont getFont()
Returns:
Returns the font.

getHoverBackgroundColor

public Color getHoverBackgroundColor()
Returns:
Returns the hoverBackgroundColor.

getInactiveBackgroundColor

public Color getInactiveBackgroundColor()
Returns:
Returns the inactiveBackgroundColor.

getInactiveColor

public Color getInactiveColor()
Returns the inactive color.

Returns:
Returns the inactiveColor.

getLinkColor

public Color getLinkColor()
Returns:
Returns the linkColor.

getSelectedBackgroundColor

public Color getSelectedBackgroundColor()
Returns:
Returns the selectedBackgroundColor.

getSelectedColor

public Color getSelectedColor()
Returns:
Returns the selectedColor.

setActiveBackgroundColor

public void setActiveBackgroundColor(Color activeBackgroundColor)
Parameters:
activeBackgroundColor - The activeBackgroundColor to set.

setActiveColor

public void setActiveColor(Color activeColor)
Parameters:
activeColor - The activeColor to set.

setBackgroundColor

public void setBackgroundColor(Color backgroundColor)
Parameters:
backgroundColor - The backgroundColor to set.

setBorderColor

public void setBorderColor(Color borderColor)
Parameters:
borderColor - The borderColor to set.

setColor

public void setColor(Color color)
Parameters:
color - The color to set.

setFont

public void setFont(WFont font)
Parameters:
font - The font to set.

setHoverBackgroundColor

public void setHoverBackgroundColor(Color hoverBackgroundColor)
Parameters:
hoverBackgroundColor - The hoverBackgroundColor to set.

setInactiveBackgroundColor

public void setInactiveBackgroundColor(Color inactiveBackgroundColor)
Parameters:
inactiveBackgroundColor - The inactiveBackgroundColor to set.

setInactiveColor

public void setInactiveColor(Color inactiveColor)
Parameters:
inactiveColor - The inactiveColor to set.

setLinkColor

public void setLinkColor(Color linkColor)
Parameters:
linkColor - The linkColor to set.

setSelectedBackgroundColor

public void setSelectedBackgroundColor(Color selectedBackgroundColor)
Parameters:
selectedBackgroundColor - The selectedBackgroundColor to set.

setSelectedColor

public void setSelectedColor(Color selectedColor)
Parameters:
selectedColor - The selectedColor to set.

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