public abstract class AbstractLevelMeterABO extends AbstractSingletonABO<ClientContext,ServerContext,AbstractLevelMeterABO>
updateCount| Constructor and Description |
|---|
AbstractLevelMeterABO(ClientContext clientCtx) |
AbstractLevelMeterABO(ServerContext serverCtx) |
AbstractLevelMeterABO(ServerContext serverCtx,
int initialMax) |
AbstractLevelMeterABO(ServerContext serverCtx,
int initialMax,
int initialMin) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearBounds() |
void |
clearCurrentValue() |
void |
clearLowerBound() |
void |
clearUpperBound() |
void |
fitRangeToBounds() |
int |
getCurrentValue() |
int |
getLowerBound() |
int |
getMaxValue() |
int |
getMinValue() |
int |
getUpperBound() |
protected void |
initForValue(int initialValue) |
protected void |
overtakeABOValues(AbstractLevelMeterABO inst)
Must be implemented by subclasses to copy their instance values
|
void |
resetRangeToInitial() |
protected int |
roundBoundaryValue(java.math.RoundingMode mode,
int value) |
void |
setCurrentValue(int value) |
void |
setMaxValue(int max) |
void |
setMinValue(int min) |
DumpString |
toDumpString(DumpString s)
This method allows subclasses to add values to the existing DumpString of the superclass.
|
ToString |
toString(ToString s)
This method allows subclasses to add values to the existing ToString of the superclass.
|
protected void |
updateOnServer()
Needs only be overridden to ensure persistence before ABO is replaced in the cache.
|
createEditDialog, createPrimaryKey, fetch, getRenderIcon, instantiateOnServer, isCacheResidentaddChangeListener, clone, compareTo, copy, copyABOValues, create, createChangeGate, createOnServer, delete, deleteOnServer, drop, dropOnServer, equals, fetch, findCachedABOs, fireABOInitialized, getPrimaryKey, getRenderColor, getRenderText, getResourceName, getResourceType, getUpdateCount, hashCode, isbeingAccessed, isLockedByMe, isNumb, isOnline, isVisibleInClientMonitor, receivedUpdateEvent, refetch, removeChangeListener, setLocked, setNumb, update, updategetLastAccessedTs, getLastAccessorId, setLastAccessorIdcheckOnClient, checkOnServer, getClientContext, getLogChannel, getServerContext, isLogDebug, isLogVerbose, isOnClient, isOnServer, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setClientContext, setLogChannel, setServerContextconfigureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitisOnClient, isOnServer, setClientContext, setServerContextgetClientContextgetServerContexttoDumpString, toStringgetLastAccessedTs, getLastAccessorId, setLastAccessorIdpublic AbstractLevelMeterABO(ClientContext clientCtx)
public AbstractLevelMeterABO(ServerContext serverCtx)
public AbstractLevelMeterABO(ServerContext serverCtx, int initialMax)
public AbstractLevelMeterABO(ServerContext serverCtx, int initialMax, int initialMin)
protected void initForValue(int initialValue)
public int getMaxValue()
public int getUpperBound()
public int getCurrentValue()
public int getLowerBound()
public int getMinValue()
public void setCurrentValue(int value)
public void setMaxValue(int max)
public void setMinValue(int min)
public void clearCurrentValue()
public void clearBounds()
public void clearUpperBound()
public void clearLowerBound()
public void fitRangeToBounds()
public void resetRangeToInitial()
protected void updateOnServer()
throws java.lang.Exception
AbstractABOupdateOnServer in class AbstractABO<ClientContext,ServerContext,AbstractLevelMeterABO>java.lang.Exceptionprotected void overtakeABOValues(AbstractLevelMeterABO inst)
AbstractABOovertakeABOValues in class AbstractABO<ClientContext,ServerContext,AbstractLevelMeterABO>protected int roundBoundaryValue(java.math.RoundingMode mode,
int value)
public ToString toString(ToString s)
DumpabletoString in interface DumpabletoString in class AbstractABO<ClientContext,ServerContext,AbstractLevelMeterABO>public DumpString toDumpString(DumpString s)
DumpabletoDumpString in interface DumpabletoDumpString in class AbstractABO<ClientContext,ServerContext,AbstractLevelMeterABO>Copyright © 2011 EsprIT-Systems. All Rights Reserved.