|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectllnl.visit.AttributeSubject
llnl.visit.ColorAttribute
public class ColorAttribute
Constructor Summary | |
---|---|
ColorAttribute()
|
|
ColorAttribute(ColorAttribute obj)
|
|
ColorAttribute(int nMoreFields)
|
|
ColorAttribute(int r,
int g,
int b)
|
|
ColorAttribute(int r,
int g,
int b,
int a)
|
Method Summary | |
---|---|
int |
Alpha()
|
int |
Blue()
|
boolean |
equals(ColorAttribute obj)
|
byte[] |
GetColor()
|
int |
GetNumAdditionalAttributes()
Returns the number of attributes added in this level of the state object. |
int |
Green()
|
int |
Offset()
Returns the offset into the selected table where this state object's fields begin. |
void |
ReadAtts(int index,
CommunicationBuffer buf)
Reads the specified index's data from the buffer into the object. |
int |
Red()
|
void |
SetColor(byte[] color_)
|
void |
SetColor(byte e0,
byte e1,
byte e2,
byte e3)
|
java.lang.String |
toString(java.lang.String indent)
|
void |
WriteAtts(CommunicationBuffer buf)
Writes the selected fields of the object to the buffer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ColorAttribute()
public ColorAttribute(int nMoreFields)
public ColorAttribute(ColorAttribute obj)
public ColorAttribute(int r, int g, int b)
public ColorAttribute(int r, int g, int b, int a)
Method Detail |
---|
public int Offset()
AttributeSubject
Offset
in class AttributeSubject
public int GetNumAdditionalAttributes()
AttributeSubject
GetNumAdditionalAttributes
in class AttributeSubject
public boolean equals(ColorAttribute obj)
public void SetColor(byte[] color_)
public void SetColor(byte e0, byte e1, byte e2, byte e3)
public byte[] GetColor()
public void WriteAtts(CommunicationBuffer buf)
AttributeSubject
WriteAtts
in class AttributeSubject
buf
- The communication buffer to which the object will be written.public void ReadAtts(int index, CommunicationBuffer buf)
AttributeSubject
ReadAtts
in class AttributeSubject
buf
- The communication buffer to from which the object will be read.public java.lang.String toString(java.lang.String indent)
toString
in class AttributeSubject
public int Red()
public int Green()
public int Blue()
public int Alpha()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |