|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjp.digitalmuseum.mr.service.ServiceAbstractImpl
public abstract class ServiceAbstractImpl
| フィールドの概要 | |
|---|---|
static int |
DEFAULT_INTERVAL
|
| コンストラクタの概要 | |
|---|---|
ServiceAbstractImpl()
|
|
| メソッドの概要 | |
|---|---|
void |
addEventListener(EventListener listener)
Add an event listener. |
void |
dispose()
|
protected void |
distributeEvent(Event e)
Distribute an event to listeners. |
long |
getAliveTime()
|
javax.swing.JComponent |
getConfigurationComponent()
|
long |
getInterval()
Get duration of one cycle in milliseconds. |
java.lang.String |
getName()
|
ServiceGroup |
getServiceGroup()
|
protected void |
initialize()
|
boolean |
isDisposed()
|
boolean |
isPaused()
|
boolean |
isStarted()
|
protected void |
onPause()
Called when this service pauses. |
protected void |
onResume()
Called when this service resumes from pausing. |
protected void |
onStart()
Called when this service starts. This method is assured to be called before the first call of Runnable.run(). |
protected void |
onStop()
Called when this service stops. This method is assured to be called after the last call of Runnable.run(). |
void |
pause()
Pause this service. |
boolean |
removeEventListener(EventListener listener)
Remove an event listener. |
void |
resume()
Resume this service. |
void |
setInterval(long interval)
Set duration of one cycle in milliseconds. |
void |
setServiceGroup(ServiceGroup serviceGroup)
Set the service group to which this service belongs. |
void |
start()
Start this service. |
void |
start(ServiceGroup serviceGroup)
Start this service on the specified service group. |
void |
stop()
Stop this service. |
java.lang.String |
toString()
|
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| インタフェース java.lang.Runnable から継承されたメソッド |
|---|
run |
| フィールドの詳細 |
|---|
public static final int DEFAULT_INTERVAL
| コンストラクタの詳細 |
|---|
public ServiceAbstractImpl()
| メソッドの詳細 |
|---|
protected void initialize()
public void dispose()
Service 内の dispose
public final void setInterval(long interval)
Service の記述:Service 内の setInterval
interval - Duration of a period in milliseconds.public long getInterval()
Service の記述:Service 内の getInterval
public void setServiceGroup(ServiceGroup serviceGroup)
Service の記述:Service 内の setServiceGroup
public ServiceGroup getServiceGroup()
Service 内の getServiceGroup
public void start(ServiceGroup serviceGroup)
Service の記述:Service 内の start
Service.start()public void start()
Service の記述:Service 内の start
Service.start(ServiceGroup),
Service.pause(),
Service.resume(),
Service.stop()
public void stop()
Service の記述:Service 内の stop
Service.start()public void pause()
Service の記述:Service 内の pause
Service.resume()public void resume()
Service の記述:Service 内の resume
Service.pause()public boolean isStarted()
Service 内の isStarted
public boolean isPaused()
Service 内の isPaused
public boolean isDisposed()
Service 内の isDisposed
public long getAliveTime()
Service 内の getAliveTime
public javax.swing.JComponent getConfigurationComponent()
Service 内の getConfigurationComponent
JComponentpublic java.lang.String getName()
Service 内の getName
public java.lang.String toString()
java.lang.Object 内の toString
public void addEventListener(EventListener listener)
EventProvider 内の addEventListener
EventProvider.removeEventListener(EventListener)public boolean removeEventListener(EventListener listener)
EventProvider 内の removeEventListener
EventProvider.addEventListener(EventListener)protected void onStart()
Runnable.run().
protected void onStop()
Runnable.run().
protected void onPause()
protected void onResume()
protected void distributeEvent(Event e)
e -
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||