WebStyle

Inheritance: java.lang.Object

public class WebStyle

Represent the style for web control,extend from the Style class.

Constructors

ConstructorDescription
WebStyle()

Methods

MethodDescription
equals(Object arg0)
getBackColor()Gets the BackColor in the style
getBorderColor()Gets the BorderColor in the style
getBorderStyle()Gets the BorderStyle in the style
getBorderWidth()Gets the BorderWidth in the style
getClass()
getCssClass()Gets the CssClass in the style
getFont()Gets the Font in the style
getForeColor()Gets the ForeColor in the style
getHeight()Gets the Height in the style
getWidth()Gets the Width in the style
hashCode()
notify()
notifyAll()
setBackColor(Color value)Sets the BackColor in the style
setBorderColor(Color value)Sets the BorderColor in the style
setBorderStyle(int value)Sets the BorderStyle in the style
setBorderWidth(Unit value)Sets the BorderWidth in the style
setCssClass(String value)Sets the CssClass in the style
setForeColor(Color value)Sets the ForeColor in the style
setHeight(Unit value)Sets the Height in the style
setWidth(Unit value)Sets the Width in the style
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

WebStyle()

public WebStyle()

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getBackColor()

public Color getBackColor()

Gets the BackColor in the style

Returns: Color

getBorderColor()

public Color getBorderColor()

Gets the BorderColor in the style

Returns: Color

getBorderStyle()

public int getBorderStyle()

Gets the BorderStyle in the style

See BorderStyle.

Returns: int

getBorderWidth()

public Unit getBorderWidth()

Gets the BorderWidth in the style

Returns: Unit

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getCssClass()

public String getCssClass()

Gets the CssClass in the style

Returns: java.lang.String

getFont()

public FontInfo getFont()

Gets the Font in the style

Returns: FontInfo

getForeColor()

public Color getForeColor()

Gets the ForeColor in the style

Returns: Color

getHeight()

public Unit getHeight()

Gets the Height in the style

Returns: Unit

getWidth()

public Unit getWidth()

Gets the Width in the style

Returns: Unit

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setBackColor(Color value)

public void setBackColor(Color value)

Sets the BackColor in the style

Parameters:

ParameterTypeDescription
valueColor

setBorderColor(Color value)

public void setBorderColor(Color value)

Sets the BorderColor in the style

Parameters:

ParameterTypeDescription
valueColor

setBorderStyle(int value)

public void setBorderStyle(int value)

Sets the BorderStyle in the style

See BorderStyle.

Parameters:

ParameterTypeDescription
valueint

setBorderWidth(Unit value)

public void setBorderWidth(Unit value)

Sets the BorderWidth in the style

Parameters:

ParameterTypeDescription
valueUnit

setCssClass(String value)

public void setCssClass(String value)

Sets the CssClass in the style

Parameters:

ParameterTypeDescription
valuejava.lang.String

setForeColor(Color value)

public void setForeColor(Color value)

Sets the ForeColor in the style

Parameters:

ParameterTypeDescription
valueColor

setHeight(Unit value)

public void setHeight(Unit value)

Sets the Height in the style

Parameters:

ParameterTypeDescription
valueUnit

setWidth(Unit value)

public void setWidth(Unit value)

Sets the Width in the style

Parameters:

ParameterTypeDescription
valueUnit

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int