|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sdm.quasar.client.core.dialog.AbstractPerChildService
com.sdm.quasar.client.swing.embedding.services.AbstractTitleService
An abstract TitleService implementation.
| Constructor Summary | |
AbstractTitleService(DialogControl dialogControl,
SubDialogControl subDialogControl,
java.lang.String registrationContext)
Creates a new AbstractTitleService. |
|
| Method Summary | |
void |
collectSystemInfo(SystemInfoNode root,
SystemInfoOptions options)
Builds the system information tree upon local information of the implementor. |
void |
dispose()
Disposes the component. |
java.awt.Color |
getBackgroundColor()
|
javax.swing.Icon |
getDisabledIcon()
|
java.awt.Color |
getForegroundColor()
|
javax.swing.Icon |
getIcon()
|
int |
getMnemonic()
|
java.lang.String |
getTitle()
|
java.lang.String |
getToolTipText()
|
void |
setBackgroundColor(java.awt.Color color)
Sets the background color to the given value. |
void |
setDisabledIcon(javax.swing.Icon icon)
Sets the disabled icon. |
void |
setForegroundColor(java.awt.Color color)
Sets the foreground color to the given value. |
void |
setIcon(javax.swing.Icon icon)
Sets the icon. |
void |
setMnemonic(int mnemonic)
Sets the mnemonic. |
void |
setTitle(java.lang.String title)
Sets the title. |
void |
setToolTipText(java.lang.String tooltip)
Sets the tooltip. |
protected void |
update()
Subclasses may implement this method, if they like to update everything when a property changes. |
| Methods inherited from class com.sdm.quasar.client.core.dialog.AbstractPerChildService |
getDialogControl, getSubDialogControl |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbstractTitleService(DialogControl dialogControl,
SubDialogControl subDialogControl,
java.lang.String registrationContext)
AbstractTitleService.
| Method Detail |
public void dispose()
throws DisposeException
Disposable
Important:
This method is called by an administrating component
and must never be called directly.
The implementation should release any resources or objects allocated and
any services registered. Furthermore, this method should be developed
carefully to free a maximum of resources even when the system may
have become unstable. In case of one or multiple errors, you should collect
them in a DisposeException, continue with the execution,
and throw it at the end of the method.
Note: The implementation must not return before the component is disposed. Any threads or asynchronous calls started must be completed before this method returns.
dispose in interface DisposableDisposeException - if there was one or more errors while
disposing the component.Disposable.dispose()public java.awt.Color getBackgroundColor()
getBackgroundColor in interface TitleServiceTitleService.getBackgroundColor()public javax.swing.Icon getDisabledIcon()
getDisabledIcon in interface TitleServiceTitleService.getDisabledIcon()public java.awt.Color getForegroundColor()
getForegroundColor in interface TitleServiceTitleService.getForegroundColor()public javax.swing.Icon getIcon()
getIcon in interface TitleServiceTitleService.getIcon()public int getMnemonic()
getMnemonic in interface TitleServiceTitleService.getMnemonic()public java.lang.String getTitle()
getTitle in interface TitleServiceTitleService.getTitle()public java.lang.String getToolTipText()
getToolTipText in interface TitleServiceTitleService.getToolTipText()public void setBackgroundColor(java.awt.Color color)
TitleService
setBackgroundColor in interface TitleServicecolor - the new background colorTitleService.setBackgroundColor(java.awt.Color)public void setDisabledIcon(javax.swing.Icon icon)
TitleService
setDisabledIcon in interface TitleServiceicon - the disabled icon to setTitleService.setDisabledIcon(javax.swing.Icon)public void setForegroundColor(java.awt.Color color)
TitleService
setForegroundColor in interface TitleServicecolor - the new foreground colorTitleService.setForegroundColor(java.awt.Color)public void setIcon(javax.swing.Icon icon)
TitleService
setIcon in interface TitleServiceicon - the icon to setTitleService.setIcon(javax.swing.Icon)public void setMnemonic(int mnemonic)
TitleService
setMnemonic in interface TitleServicemnemonic - the mnemonic to setTitleService.setMnemonic(int)public void setTitle(java.lang.String title)
TitleService
setTitle in interface TitleServicetitle - the new titleTitleService.setTitle(java.lang.String)public void setToolTipText(java.lang.String tooltip)
TitleService
setToolTipText in interface TitleServicetooltip - the new tooltipTitleService.setToolTipText(java.lang.String)protected void update()
public void collectSystemInfo(SystemInfoNode root,
SystemInfoOptions options)
SystemInfoProviderSystemInfoOptions).
The information can be appended to the tree by adding new child
SystemInformationNodes to the root node given using the
SystemInfoNode.createChild(String) method and by setting information
attributes the these nodes or the given root node.
collectSystemInfo in interface SystemInfoProviderroot - the SystemInfoNode to add information to (guaranteed to be not null)options - contains additional options, that might influence the amount of
information added to the tree (guaranteed to be not null)SystemInfoProvider.collectSystemInfo(com.sdm.quasar.client.core.common.sysinfo.SystemInfoNode, com.sdm.quasar.client.core.common.sysinfo.SystemInfoOptions)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||