openfuture.masterdata.test
Class Paint
java.lang.Object
|
+--openfuture.masterdata.MasterData
|
+--openfuture.masterdata.LDMasterData
|
+--openfuture.masterdata.test.Paint
- All Implemented Interfaces:
- java.lang.Comparable, ILanguageDependent, IMasterData, java.io.Serializable
- public class Paint
- extends LDMasterData
The class Paint is an example for a language dependent master data class
Creation date: (09.09.00 22:01:56)
- See Also:
- Serialized Form
Constructor Summary |
Paint()
Paint constructor comment. |
Paint(java.lang.String id,
java.lang.String language,
java.lang.String text,
java.awt.Color color)
Construct an instance of this class
Creation date: (09.09.00 22:04:36) |
Method Summary |
int |
compareTo(IMasterData o)
compare |
java.awt.Color |
getColor()
Return contents of field color |
static java.lang.String |
getVersion()
get the version |
void |
setColor(java.awt.Color newValue)
Set contents of field color to the given value |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Paint
public Paint()
- Paint constructor comment.
Paint
public Paint(java.lang.String id,
java.lang.String language,
java.lang.String text,
java.awt.Color color)
- Construct an instance of this class
Creation date: (09.09.00 22:04:36)
- Parameters:
id
- java.lang.Stringlanguage
- java.lang.Stringtext
- java.lang.Stringcolor
- java.awt.Color
compareTo
public int compareTo(IMasterData o)
- compare
- Overrides:
compareTo
in class MasterData
getColor
public final java.awt.Color getColor()
- Return contents of field color
- Returns:
- (Color) contents of field color
setColor
public final void setColor(java.awt.Color newValue)
- Set contents of field color to the given value
- Parameters:
newValue
- (Color) new value for field color
getVersion
public static java.lang.String getVersion()
- get the version
Copyright © 2000 -- 2003 openfuture.de. All Rights Reserved.