|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvrml.Field
vrml.MField
vrml.field.MFBool
public class MFBool
Constructor Summary | |
---|---|
MFBool()
Default constructor |
|
MFBool(boolean[] values)
Construct an MFBool field. |
|
MFBool(int size,
boolean[] values)
Construct an MFBool field. |
Method Summary | |
---|---|
void |
addValue(boolean b)
Add a new element at the end of the list. |
void |
addValue(ConstSFBool b)
Add a new element at the end of the list. |
void |
addValue(SFBool b)
Add a new element at the end of the list. |
void |
clear()
Removes all fields from the MField. |
void |
delete(int index)
Deletes a field from the MField. |
boolean |
get1Value(int index)
Retrieve a particular element from an MFBool field. |
int |
getSize()
Number of elements contained in the MField. |
void |
getValue(boolean[] values)
Retrieves the complete list of booleans making up an MFBool field. |
void |
insertValue(int index,
boolean b)
Insert a new element at the specified position. |
void |
insertValue(int index,
ConstSFBool b)
Insert a new element at the specified position. |
void |
insertValue(int index,
SFBool b)
Insert a new element at the specified position. |
void |
set1Value(int index,
boolean b)
Set a specified element in the field. |
void |
set1Value(int index,
ConstSFBool b)
Set a specified element in the field. |
void |
set1Value(int index,
SFBool b)
Set a specified element in the field. |
void |
setValue(boolean[] values)
Set the value of the field. |
void |
setValue(ConstMFBool value)
Set the value of the field. |
void |
setValue(int size,
boolean[] values)
Set the value of the field. |
void |
setValue(MFBool value)
Set the value of the field. |
Methods inherited from class vrml.Field |
---|
clone, dispose, finalize, getPeer, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MFBool()
public MFBool(int size, boolean[] values)
size
- Number of booleans to initialize object with.values
- List of booleans to initialize object with.public MFBool(boolean[] values)
values
- List of booleans to initialize object with.Method Detail |
---|
public int getSize()
MField
getSize
in class MField
public void clear()
MField
clear
in class MField
public void delete(int index)
MField
delete
in class MField
index
- Index of field to delete.public void getValue(boolean[] values)
values
- Array to put resulting list of booleans in.public boolean get1Value(int index)
index
- Position of desired element.
public void setValue(boolean[] values)
values
- New value for field.public void setValue(int size, boolean[] values)
size
- Size of new value for field.values
- New value for field.public void setValue(MFBool value)
value
- New value for field.public void setValue(ConstMFBool value)
value
- New value for field.public void set1Value(int index, boolean b)
index
- Position of element to update.b
- New value for element.public void set1Value(int index, ConstSFBool b)
index
- Position of element to update.b
- New value for element.public void set1Value(int index, SFBool b)
index
- Position of element to update.b
- New value for element.public void addValue(boolean b)
b
- Element to add.public void addValue(ConstSFBool b)
b
- Element to add.public void addValue(SFBool b)
b
- Element to add.public void insertValue(int index, boolean b)
index
- Position to insert new element at.b
- Value to insert.public void insertValue(int index, ConstSFBool b)
index
- Position to insert new element at.b
- Value to insert.public void insertValue(int index, SFBool b)
index
- Position to insert new element at.b
- Value to insert.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |