public class GMST extends MajorRecord
Modifier and Type | Class and Description |
---|---|
static class |
GMST.BoolSetting |
static class |
GMST.FloatSetting |
static class |
GMST.GMSTType
Enum representing the different data types a GMST can hold.
|
static class |
GMST.IntSetting |
static class |
GMST.StringSetting |
MajorRecord.MajorFlags
Constructor and Description |
---|
GMST(GMST.BoolSetting setting,
java.lang.Boolean b) |
GMST(GMST.FloatSetting setting,
float f) |
GMST(GMST.IntSetting setting,
int i) |
GMST(GMST.StringSetting setting,
java.lang.String s) |
Modifier and Type | Method and Description |
---|---|
boolean |
getBool() |
float |
getFloat() |
GMST.GMSTType |
getGMSTType() |
int |
getInt() |
java.lang.String |
getString() |
void |
setData(java.lang.Boolean b)
Sets the data to a boolean value.
|
void |
setData(float f)
Sets the data to a float value.
|
void |
setData(int i)
Sets the data to a int value.
|
void |
setData(java.lang.String s)
Sets the data to a string value.
|
copy, deepEquals, equals, get, getEDID, getForm, getFormMaster, getFormStr, hashCode, print, set, setEDID, setForm, toString
getRecordLength, getType
public GMST(GMST.BoolSetting setting, java.lang.Boolean b)
setting
- b
- public GMST(GMST.StringSetting setting, java.lang.String s)
setting
- s
- public GMST(GMST.IntSetting setting, int i)
setting
- i
- public GMST(GMST.FloatSetting setting, float f)
setting
- f
- public GMST.GMSTType getGMSTType()
public final void setData(java.lang.Boolean b)
b
- public final void setData(java.lang.String s)
s
- public final void setData(int i)
i
- public final void setData(float f)
f
- public boolean getBool()
public java.lang.String getString()
public int getInt()
public float getFloat()