protected static class EditorBasedStatusBarPopup.WidgetState
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static EditorBasedStatusBarPopup.WidgetState |
HIDDEN
Return this state if you want to hide the widget
|
static EditorBasedStatusBarPopup.WidgetState |
NO_CHANGE
Return this state if you don't want to change widget presentation
|
static EditorBasedStatusBarPopup.WidgetState |
NO_CHANGE_MAKE_VISIBLE
Return this state if you want to show widget in its previous state
but without updating its content
|
protected java.lang.String |
toolTip |
Constructor and Description |
---|
WidgetState(java.lang.String toolTip,
java.lang.String text,
boolean actionEnabled) |
Modifier and Type | Method and Description |
---|---|
static EditorBasedStatusBarPopup.WidgetState |
getDumbModeState(java.lang.String name,
java.lang.String widgetPrefix)
Returns a special state for dumb mode (when indexes are not ready).
|
void |
setIcon(javax.swing.Icon icon) |
public static final EditorBasedStatusBarPopup.WidgetState HIDDEN
public static final EditorBasedStatusBarPopup.WidgetState NO_CHANGE
public static final EditorBasedStatusBarPopup.WidgetState NO_CHANGE_MAKE_VISIBLE
protected final java.lang.String toolTip
public WidgetState(java.lang.String toolTip, java.lang.String text, boolean actionEnabled)
public static EditorBasedStatusBarPopup.WidgetState getDumbModeState(java.lang.String name, java.lang.String widgetPrefix)
public void setIcon(javax.swing.Icon icon)