public class Colors extends Object implements Cloneable
This first implementation only handles index colors.
Constructor and Description |
---|
Colors()
Creates a new empty instance of the Colors.
|
Colors(ColorItem fore,
ColorItem back)
Creates a new instance of the Colors.
|
Modifier and Type | Method and Description |
---|---|
void |
append(Transaction trans)
Appends the colors to a transaction.
|
Colors |
clone()
Clones the Colors.
|
ColorItem |
getBackground()
Gets the background color item.
|
ColorItem |
getForeground()
Gets the foreground color item.
|
void |
set(Transaction trans)
Initializes the colors from a transaction.
|
public ColorItem getForeground()
public ColorItem getBackground()
public void append(Transaction trans)
public void set(Transaction trans)
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.