|
||||||||||
| 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 | |
|---|---|
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 ElementsBuffernewData - the new data.elementSize - the size of data elements.
public void setData(java.lang.Float[] newData,
int elementSize)
ElementsBuffer
setData in interface ElementsBuffernewData - the new data.elementSize - the size of data elements.
public void setData(java.nio.FloatBuffer newData,
int elementsSize)
ElementsBuffer
setData in interface ElementsBuffernewData - the new data.elementsSize - the size of data elements.public int getSize()
DataBuffer
getSize in interface DataBufferpublic int getElementsSize()
ElementsBuffer
getElementsSize in interface ElementsBufferpublic java.nio.FloatBuffer getData()
DataBuffer
getData in interface DataBuffergetData in interface ElementsBuffer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||