|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| 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.AlertMessageAreaPane
public class AlertMessageAreaPane
MessagePane implementation used by MessageDialog.
| Field Summary |
|---|
| Fields inherited from class org.springframework.richclient.application.support.ApplicationServicesAccessor |
|---|
logger |
| Fields inherited from interface org.springframework.richclient.dialog.Messagable |
|---|
MESSAGE_PROPERTY |
| Constructor Summary | |
|---|---|
AlertMessageAreaPane()
Creates a new uninitialized AlertMessageAreaPane. |
|
AlertMessageAreaPane(Messagable delegate)
Creates a new AlertMessageAreaPane that uses the given delegate
as a message container. |
|
| 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. |
Message |
getMessage()
|
int |
getPreferredHeight()
|
boolean |
isMessageShowing()
Is this pane currently showing a message? |
void |
propertyChange(PropertyChangeEvent evt)
|
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 |
setErrorIcon(Icon icon)
Sets the icon to be shown when displaying messages with error-level severity. |
void |
setInfoIcon(Icon icon)
The icon to be shown when dispalying messages with info-level severity. |
void |
setMessage(Message message)
Set the message. |
void |
setWarningIcon(Icon icon)
Sets the icon to be shown when displaying messages with warning-level severity. |
| 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 |
| Constructor Detail |
|---|
public AlertMessageAreaPane()
AlertMessageAreaPane.
public AlertMessageAreaPane(Messagable delegate)
AlertMessageAreaPane that uses the given delegate
as a message container.
delegate - The messagable delegate.| Method Detail |
|---|
public int getPreferredHeight()
protected JComponent createControl()
AbstractControlFactory
createControl in class AbstractControlFactorypublic Message getMessage()
getMessage in interface MessagePanepublic void setMessage(Message message)
Messagable
setMessage in interface Messagablepublic boolean isMessageShowing()
MessagePane
isMessageShowing in interface MessagePanepublic void addPropertyChangeListener(PropertyChangeListener listener)
PropertyChangePublisher
addPropertyChangeListener in interface PropertyChangePublisherlistener - the PropertyChangeListener to register.
public void addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
PropertyChangePublisher
addPropertyChangeListener in interface PropertyChangePublisherpropertyName - the property to monitor.listener - the PropertyChangeListener to register.public void removePropertyChangeListener(PropertyChangeListener listener)
PropertyChangePublisher
removePropertyChangeListener in interface PropertyChangePublisherlistener - the PropertyChangeListener to remove.
public void removePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
PropertyChangePublisher
removePropertyChangeListener in interface PropertyChangePublisherpropertyName - the property that was being monitored.listener - the PropertyChangeListener to remove.public void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListenerpublic void setErrorIcon(Icon icon)
icon - The error icon.public void setWarningIcon(Icon icon)
icon - The warning icon.public void setInfoIcon(Icon icon)
icon - The info icon.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||