|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcrystalspace.jbind.impl.csNativeObject
crystalspace.jbind.impl.csutil.scf.csBase
crystalspace.jbind.impl.varia.pmeter.csProgressMeter
Field Summary |
Fields inherited from class crystalspace.jbind.impl.csNativeObject |
ImplFactory, nPointer |
Constructor Summary | |
csProgressMeter(iPointer nPointer)
|
Method Summary | |
void |
abort()
Abort the meter. |
void |
Finalize()
Finalize the meter (i.e. we completed the task sooner than expected);. |
int |
getCurrent()
Get the current value of the meter ( <= total);. |
int |
getGranularity()
Get the refresh granularity. |
java.lang.String |
getName()
Return the name of the interface |
int |
getTotal()
Get the total element count represented by the meter. |
int |
getVersion()
Return the version of the interface |
protected boolean |
isNativePointerValidSafe(long pointer)
|
void |
reset()
Reset the meter to 0%. |
void |
restart()
Reset the meter and print the initial tick mark ("0%");. |
void |
setGranularity(int i)
Set the refresh granularity. |
void |
setProgressDescription(java.lang.String id,
java.lang.String description)
Set the id and description of what we are currently monitoring. |
void |
setTotal(int n)
Set the total element count represented by the meter and perform a reset. |
void |
step()
Increment the meter by one unit. |
Methods inherited from class crystalspace.jbind.impl.csutil.scf.csBase |
decRef, equals, finalize, getRefCount, incRef, nDelete, queryInterface, queryInterfaceSafe |
Methods inherited from class crystalspace.jbind.impl.csNativeObject |
changePointer, getPointer, getPointer, getPointerArray, hashCode, isMemoryOwner, isNativePointerValid, newNativeObject, setMemoryOwner, toString |
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface crystalspace.jbind.interfaces.iutil.scf.iBase |
decRef, getRefCount, incRef, queryInterface, queryInterfaceSafe |
Methods inherited from interface crystalspace.jbind.interfaces.iPointer |
changePointer, getPointer, isMemoryOwner, setMemoryOwner |
Constructor Detail |
public csProgressMeter(iPointer nPointer)
nPointer
- Method Detail |
public int getVersion()
iBase
getVersion
in interface iBase
getVersion
in class csBase
iBase.getVersion()
public java.lang.String getName()
iBase
getName
in interface iBase
getName
in class csBase
iBase.getName()
protected boolean isNativePointerValidSafe(long pointer)
isNativePointerValidSafe
in class csNativeObject
csNativeObject.isNativePointerValidSafe(long)
public void abort()
iProgressMeter
abort
in interface iProgressMeter
iProgressMeter.abort()
public void Finalize()
iProgressMeter
Finalize
in interface iProgressMeter
iProgressMeter.Finalize()
public int getCurrent()
iProgressMeter
getCurrent
in interface iProgressMeter
iProgressMeter.getCurrent()
public int getGranularity()
iProgressMeter
getGranularity
in interface iProgressMeter
iProgressMeter.getGranularity()
public int getTotal()
iProgressMeter
getTotal
in interface iProgressMeter
iProgressMeter.getTotal()
public void reset()
iProgressMeter
reset
in interface iProgressMeter
iProgressMeter.reset()
public void restart()
iProgressMeter
restart
in interface iProgressMeter
iProgressMeter.restart()
public void setGranularity(int i)
iProgressMeter
setGranularity
in interface iProgressMeter
i
- iProgressMeter.setGranularity(int)
public void setProgressDescription(java.lang.String id, java.lang.String description)
iProgressMeter
setProgressDescription
in interface iProgressMeter
id
- description
- iProgressMeter.setProgressDescription(java.lang.String, java.lang.String)
public void setTotal(int n)
iProgressMeter
setTotal
in interface iProgressMeter
n
- iProgressMeter.setTotal(int)
public void step()
iProgressMeter
step
in interface iProgressMeter
iProgressMeter.step()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |