Colors
Inheritance: java.lang.Object
public class Colors
Set of colors for calendar object
Constructors
| Constructor | Description |
|---|---|
| Colors() | Initializes a new instance of the Colors class. |
| Colors(String background, String foreground) | Initializes a new instance of the Colors class. |
Methods
| Method | Description |
|---|---|
| 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:
| Parameter | Type | Description |
|---|---|---|
| background | java.lang.String | The background color associated with this color definition. |
| foreground | java.lang.String | The 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:
| Parameter | Type | Description |
|---|---|---|
| arg0 | java.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:
| Parameter | Type | Description |
|---|---|---|
| value | java.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:
| Parameter | Type | Description |
|---|---|---|
| value | java.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:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long | |
| arg1 | int |