|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.scilab.forge.scirenderer.implementation.g2d.buffers.G2DElementsBuffer
public class G2DElementsBuffer
Field Summary | |
---|---|
static int |
ELEMENT_SIZE
The current size of one element. |
Method Summary | |
---|---|
void |
clear()
|
java.nio.FloatBuffer |
getData()
Return the data. |
int |
getElementsSize()
Return the number of coordinate for one element. |
int |
getSize()
Return the number of elements. |
void |
setData(float[] newData,
int elementSize)
Set the data. |
void |
setData(java.lang.Float[] newData,
int elementSize)
Set the data. |
void |
setData(java.nio.FloatBuffer newData,
int elementsSize)
Set the data. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ELEMENT_SIZE
Method Detail |
---|
public void setData(float[] newData, int elementSize)
ElementsBuffer
setData
in interface ElementsBuffer
newData
- the new data.elementSize
- the size of data elements.public void setData(java.lang.Float[] newData, int elementSize)
ElementsBuffer
setData
in interface ElementsBuffer
newData
- the new data.elementSize
- the size of data elements.public void setData(java.nio.FloatBuffer newData, int elementsSize)
ElementsBuffer
setData
in interface ElementsBuffer
newData
- the new data.elementsSize
- the size of data elements.public int getSize()
DataBuffer
getSize
in interface DataBuffer
public int getElementsSize()
ElementsBuffer
getElementsSize
in interface ElementsBuffer
public java.nio.FloatBuffer getData()
DataBuffer
getData
in interface DataBuffer
getData
in interface ElementsBuffer
public void clear()
clear
in interface DataBuffer
clear
in interface ElementsBuffer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |