Colors

Inheritance: java.lang.Object

public class Colors

Set of colors for calendar object

Constructors

ConstructorDescription
Colors()Initializes a new instance of the Colors class.
Colors(String background, String foreground)Initializes a new instance of the Colors class.

Methods

MethodDescription
equals(Object arg0)
getBackground()The background color associated with this color definition.
getClass()
getForeground()The foreground color that can be used to write on top of a background with ‘background’ color.
hashCode()
notify()
notifyAll()
setBackground(String value)The background color associated with this color definition.
setForeground(String value)The foreground color that can be used to write on top of a background with ‘background’ color.
toString()Returns a String which represents the object instance.
wait()
wait(long arg0)
wait(long arg0, int arg1)

Colors()

public Colors()

Initializes a new instance of the Colors class.

Colors(String background, String foreground)

public Colors(String background, String foreground)

Initializes a new instance of the Colors class.

Parameters:

ParameterTypeDescription
backgroundjava.lang.StringThe background color associated with this color definition.
foregroundjava.lang.StringThe foreground color that can be used to write on top of a background with ‘background’ color.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getBackground()

public final String getBackground()

The background color associated with this color definition.

Returns: java.lang.String

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getForeground()

public final String getForeground()

The foreground color that can be used to write on top of a background with ‘background’ color.

Returns: java.lang.String

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setBackground(String value)

public final void setBackground(String value)

The background color associated with this color definition.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setForeground(String value)

public final void setForeground(String value)

The foreground color that can be used to write on top of a background with ‘background’ color.

Parameters:

ParameterTypeDescription
valuejava.lang.String

toString()

public String toString()

Returns a String which represents the object instance.

Returns: java.lang.String - Returns a String which represents the object instance.

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