com.sage.accpac.sm
Class Meter

java.lang.Object
  extended by com.sage.accpac.sm.Meter

@ThreadSafe
public class Meter
extends java.lang.Object

meters show progress.

Thread safety
Thread-safe

Nested Class Summary
static class Meter.State
          Enumeration of possible states
 
Method Summary
 void addEventListener(MeterEventListener l)
          add the given listener to the meter
 void cancel()
          request that the underlying process cancel
 java.lang.String getCaption()
           
 boolean getHasGauge()
           
 boolean getHasLabel()
           
 java.lang.String getLabel()
           
 double getLevel()
           
 double getMaximumLevel()
           
 double getMinimumLevel()
           
 Meter.State getState()
           
 boolean isCancelable()
           
 void removeEventListener(MeterEventListener l)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addEventListener

public void addEventListener(MeterEventListener l)
add the given listener to the meter


cancel

public void cancel()
request that the underlying process cancel


getCaption

public java.lang.String getCaption()

getHasLabel

public boolean getHasLabel()

getHasGauge

public boolean getHasGauge()

getLabel

public java.lang.String getLabel()

getLevel

public double getLevel()

getMaximumLevel

public double getMaximumLevel()

getMinimumLevel

public double getMinimumLevel()

getState

public Meter.State getState()

isCancelable

public boolean isCancelable()

removeEventListener

public void removeEventListener(MeterEventListener l)


Copyright © 2010 Sage Software, Inc. All rights reserved.