public class CommonStatusBarContent extends Object
Modifier and Type | Field and Description |
---|---|
static String |
LONG_TIP_UPDATE
The Constant LONG_TIP_UPDATE.
|
private String |
longTip
The long tip.
|
private PropertyChangeSupport |
pps
The pps.
|
static String |
SHORT_TIP_UPDATE
The Constant SHORT_TIP_UPDATE.
|
private String |
shortTip
The short tip.
|
Constructor and Description |
---|
CommonStatusBarContent()
Instantiates a new common status bar content.
|
CommonStatusBarContent(String shortTip,
String longTip)
Instantiates a new common status bar content.
|
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds the property change listener.
|
String |
getLongTip()
Gets the long tip.
|
String |
getShortTip()
Gets the short tip.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes the property change listener.
|
void |
setLongTip(String longTip)
Sets the long tip.
|
void |
setShortTip(String shortTip)
Sets the short tip.
|
public static final String LONG_TIP_UPDATE
public static final String SHORT_TIP_UPDATE
private String shortTip
private String longTip
private PropertyChangeSupport pps
public CommonStatusBarContent()
public final String getShortTip()
public final void setShortTip(String shortTip)
shortTip
- the new short tippublic final String getLongTip()
public final void setLongTip(String longTip)
longTip
- the new long tippublic void addPropertyChangeListener(PropertyChangeListener listener)
listener
- the listenerpublic void removePropertyChangeListener(PropertyChangeListener listener)
listener
- the listenerCopyright © 2014 www.staniscia.net. All Rights Reserved.