|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.richclient.application.support.ApplicationServicesAccessor
org.springframework.richclient.factory.AbstractControlFactory
org.springframework.richclient.dialog.TitlePane
public class TitlePane
A container class that that has a title area for displaying a title and an image as well as a common area for displaying a description, a message, or an error message.
Field Summary | |
---|---|
static String |
DEFAULT_TITLE_IMAGE
Image source key for banner image (value dialog_title_banner ). |
Fields inherited from class org.springframework.richclient.application.support.ApplicationServicesAccessor |
---|
logger |
Fields inherited from interface org.springframework.richclient.dialog.Messagable |
---|
MESSAGE_PROPERTY |
Constructor Summary | |
---|---|
TitlePane()
|
|
TitlePane(int linesToDisplay)
|
Method Summary | |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Register a listener to all properties of this publisher. |
void |
addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Register a listener to a specific property. |
protected JComponent |
createControl()
Subclasses must override this method to create a new instance of the control that this factory produces. |
Image |
getImage()
|
Message |
getMessage()
|
String |
getTitle()
|
boolean |
isMessageShowing()
Is this pane currently showing a message? |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Remove the listener from all properties of this publisher. |
void |
removePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Remove the listener from a specific property. |
void |
setImage(Image image)
|
void |
setMessage(Message newMessage)
Set the message. |
void |
setTitle(String newTitle)
Sets the title. |
Methods inherited from class org.springframework.richclient.factory.AbstractControlFactory |
---|
createControlIfNecessary, getControl, isControlCreated, isSingleton, setSingleton |
Methods inherited from class org.springframework.richclient.application.support.ApplicationServicesAccessor |
---|
getActiveWindow, getApplication, getApplicationContext, getApplicationName, getApplicationServices, getCommandConfigurer, getComponentFactory, getConversionService, getIconSource, getImageSource, getMessage, getMessage, getMessage, getMessage, getMessages, getMessageSource, getObjectConfigurer, getService |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.springframework.richclient.factory.ControlFactory |
---|
getControl |
Field Detail |
---|
public static final String DEFAULT_TITLE_IMAGE
dialog_title_banner
).
Constructor Detail |
---|
public TitlePane()
public TitlePane(int linesToDisplay)
Method Detail |
---|
public void setTitle(String newTitle)
TitleConfigurable
setTitle
in interface TitleConfigurable
newTitle
- the titlepublic void setImage(Image image)
setImage
in interface ImageConfigurable
protected JComponent createControl()
AbstractControlFactory
createControl
in class AbstractControlFactory
public boolean isMessageShowing()
MessagePane
isMessageShowing
in interface MessagePane
public Message getMessage()
getMessage
in interface MessagePane
public void setMessage(Message newMessage)
Messagable
setMessage
in interface Messagable
public void addPropertyChangeListener(PropertyChangeListener listener)
PropertyChangePublisher
addPropertyChangeListener
in interface PropertyChangePublisher
listener
- the PropertyChangeListener
to register.public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
PropertyChangePublisher
addPropertyChangeListener
in interface PropertyChangePublisher
propertyName
- the property to monitor.listener
- the PropertyChangeListener
to register.public void removePropertyChangeListener(PropertyChangeListener listener)
PropertyChangePublisher
removePropertyChangeListener
in interface PropertyChangePublisher
listener
- the PropertyChangeListener
to remove.public void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
PropertyChangePublisher
removePropertyChangeListener
in interface PropertyChangePublisher
propertyName
- the property that was being monitored.listener
- the PropertyChangeListener
to remove.public String getTitle()
public Image getImage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |