nl.cwi.sen1.configapi.types.color
Class Rgb
java.lang.Object
aterm.pure.ATermVisitableImpl
aterm.pure.ATermImpl
aterm.pure.ATermApplImpl
nl.cwi.sen1.configapi.AbstractType
nl.cwi.sen1.configapi.types.Color
nl.cwi.sen1.configapi.types.color.Rgb
- All Implemented Interfaces:
- aterm.ATerm, aterm.ATermAppl, aterm.Identifiable, jjtraveler.Visitable, shared.SharedObject, shared.SharedObjectWithID
public class Rgb
- extends Color
| Fields inherited from class aterm.pure.ATermImpl |
factory |
| Fields inherited from interface aterm.ATerm |
AFUN, APPL, BLOB, INT, LIST, LONG, PLACEHOLDER, REAL |
|
Constructor Summary |
Rgb(Factory factory,
aterm.ATermList annos,
aterm.AFun fun,
aterm.ATerm[] args)
|
| Methods inherited from class nl.cwi.sen1.configapi.AbstractType |
getConfigapiFactory, isSortActionDescription, isSortActionDescriptionList, isSortConfiguration, isSortEvent, isSortItem, isSortItemLabels, isSortKeyModifier, isSortKeyModifierList, isSortProperty, isSortPropertyList, isSortShortCut, isSortTextAttribute, isSortTextAttributeMap, isSortTextCategoryName, isSortTextStyle, isSortVirtualButton, isSortVirtualKey, setTerm, toString |
| Methods inherited from class aterm.pure.ATermApplImpl |
accept, getAFun, getArgument, getArgumentArray, getArguments, getArity, getName, getNrSubTerms, getSubTerm, getType, hashFunction, init, initHashCode, isQuoted, make, make, match, setAnnotations, setSubTerm |
| Methods inherited from class aterm.pure.ATermImpl |
equals, getAnnotation, getAnnotations, getFactory, getPureFactory, getUniqueIdentifier, hasAnnotations, hashCode, init, internSetAnnotations, isEqual, match, match, removeAnnotation, removeAnnotations, setAnnotation, setHashCode, setUniqueIdentifier, writeToSharedTextFile, writeToTextFile, writeToTextFile |
| Methods inherited from class aterm.pure.ATermVisitableImpl |
getChildAt, getChildCount, setChildAt |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface aterm.ATerm |
equals, getAnnotation, getAnnotations, getFactory, hasAnnotations, hashCode, isEqual, match, match, removeAnnotation, removeAnnotations, setAnnotation, writeToSharedTextFile, writeToTextFile |
| Methods inherited from interface jjtraveler.Visitable |
getChildAt, getChildCount, setChildAt |
| Methods inherited from interface aterm.Identifiable |
getUniqueIdentifier |
index_red
private static int index_red
index_green
private static int index_green
index_blue
private static int index_blue
Rgb
public Rgb(Factory factory,
aterm.ATermList annos,
aterm.AFun fun,
aterm.ATerm[] args)
duplicate
public shared.SharedObject duplicate()
- Specified by:
duplicate in interface shared.SharedObject- Overrides:
duplicate in class aterm.pure.ATermApplImpl
equivalent
public boolean equivalent(shared.SharedObject peer)
- Specified by:
equivalent in interface shared.SharedObject- Overrides:
equivalent in class aterm.pure.ATermApplImpl
make
protected aterm.ATermAppl make(aterm.AFun fun,
aterm.ATerm[] args,
aterm.ATermList annos)
- Overrides:
make in class aterm.pure.ATermApplImpl
toTerm
public aterm.ATerm toTerm()
- Specified by:
toTerm in class AbstractType
isRgb
public boolean isRgb()
- Overrides:
isRgb in class Color
hasRed
public boolean hasRed()
- Overrides:
hasRed in class Color
hasGreen
public boolean hasGreen()
- Overrides:
hasGreen in class Color
hasBlue
public boolean hasBlue()
- Overrides:
hasBlue in class Color
getRed
public int getRed()
- Overrides:
getRed in class Color
setRed
public Color setRed(int _red)
- Overrides:
setRed in class Color
getGreen
public int getGreen()
- Overrides:
getGreen in class Color
setGreen
public Color setGreen(int _green)
- Overrides:
setGreen in class Color
getBlue
public int getBlue()
- Overrides:
getBlue in class Color
setBlue
public Color setBlue(int _blue)
- Overrides:
setBlue in class Color
setArgument
public aterm.ATermAppl setArgument(aterm.ATerm arg,
int i)
- Specified by:
setArgument in interface aterm.ATermAppl- Overrides:
setArgument in class aterm.pure.ATermApplImpl