com.sdm.quasar.client.swing.embedding.services
Interface TitleService

All Superinterfaces:
Service
All Known Implementing Classes:
AbstractTitleService

public interface TitleService
extends Service

A service for titleing something. It may be provided by parent dialogs to enable their childs to title themselfes.

Version:
1.$Revision$
Author:
Thomas Wolf

Method Summary
 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.
 

Method Detail

getTitle

public java.lang.String getTitle()
Returns:
the title.

setTitle

public void setTitle(java.lang.String title)
Sets the title.

Parameters:
title - the new title

getMnemonic

public int getMnemonic()
Returns:
the mnemonic.

setMnemonic

public void setMnemonic(int mnemonic)
Sets the mnemonic.

Parameters:
mnemonic - the mnemonic to set

getToolTipText

public java.lang.String getToolTipText()
Returns:
the tooltip.

setToolTipText

public void setToolTipText(java.lang.String tooltip)
Sets the tooltip.

Parameters:
tooltip - the new tooltip

getIcon

public javax.swing.Icon getIcon()
Returns:
the icon.

setIcon

public void setIcon(javax.swing.Icon icon)
Sets the icon.

Parameters:
icon - the icon to set

getDisabledIcon

public javax.swing.Icon getDisabledIcon()
Returns:
the disabled icon.

setDisabledIcon

public void setDisabledIcon(javax.swing.Icon icon)
Sets the disabled icon.

Parameters:
icon - the disabled icon to set

getForegroundColor

public java.awt.Color getForegroundColor()
Returns:
the foreground color.

setForegroundColor

public void setForegroundColor(java.awt.Color color)
Sets the foreground color to the given value.

Parameters:
color - the new foreground color

getBackgroundColor

public java.awt.Color getBackgroundColor()
Returns:
the background color.

setBackgroundColor

public void setBackgroundColor(java.awt.Color color)
Sets the background color to the given value.

Parameters:
color - the new background color