|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jbbres.lib.actions.workflow.AbstractWorkflowDefinitionNotification
public abstract class AbstractWorkflowDefinitionNotification
An implementation of WorkflowDefinitionNotification
.
Nested Class Summary | |
---|---|
static class |
AbstractWorkflowDefinitionNotification.MessageType
The type of notification message. |
Constructor Summary | |
---|---|
AbstractWorkflowDefinitionNotification(java.lang.String message)
Instantiates a new notification. |
|
AbstractWorkflowDefinitionNotification(java.lang.String message,
AbstractWorkflowDefinitionNotification.MessageType messageType)
Instantiates a new notification. |
|
AbstractWorkflowDefinitionNotification(java.lang.String message,
javax.swing.Icon icon)
Instantiates a new notification. |
Method Summary | |
---|---|
javax.swing.Icon |
getIcon()
Returns the notification icon. |
java.lang.String |
getMessage()
Returns the notification message. |
AbstractWorkflowDefinitionNotification.MessageType |
getMessageType()
Returns the current message type. |
void |
setIcon(javax.swing.Icon newIcon)
Sets the notification icon. |
void |
setMessage(java.lang.String newMessage)
Sets the notification message. |
void |
setMessageType(AbstractWorkflowDefinitionNotification.MessageType newMessageType)
Sets the message type. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.jbbres.lib.actions.workflow.WorkflowDefinitionNotification |
---|
dismiss, hasAssociatedOperation, runAssociatedOperation |
Constructor Detail |
---|
public AbstractWorkflowDefinitionNotification(java.lang.String message)
message
- the messagepublic AbstractWorkflowDefinitionNotification(java.lang.String message, AbstractWorkflowDefinitionNotification.MessageType messageType)
message
- the messagemessageType
- the message typepublic AbstractWorkflowDefinitionNotification(java.lang.String message, javax.swing.Icon icon)
message
- the messageicon
- the iconMethod Detail |
---|
public void setMessage(java.lang.String newMessage)
newMessage
- the new messagepublic java.lang.String getMessage()
WorkflowDefinitionNotification
getMessage
in interface WorkflowDefinitionNotification
public void setIcon(javax.swing.Icon newIcon)
newIcon
- the new iconpublic javax.swing.Icon getIcon()
WorkflowDefinitionNotification
getIcon
in interface WorkflowDefinitionNotification
public void setMessageType(AbstractWorkflowDefinitionNotification.MessageType newMessageType)
newMessageType
- the new message typepublic AbstractWorkflowDefinitionNotification.MessageType getMessageType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |