public final class TabInfo extends java.lang.Object implements Queryable, PlaceProvider<java.lang.String>
Modifier and Type | Class and Description |
---|---|
static interface |
TabInfo.DragOutDelegate |
Queryable.Contributor, Queryable.PrintInfo, Queryable.Util
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACTION_GROUP |
static java.lang.String |
ALERT_ICON |
static java.lang.String |
ALERT_STATUS |
static java.lang.String |
COMPONENT |
static java.lang.String |
ENABLED |
static java.lang.String |
HIDDEN |
static java.lang.String |
ICON |
static java.lang.String |
TAB_ACTION_GROUP |
static java.lang.String |
TAB_COLOR |
static java.lang.String |
TEXT |
Constructor and Description |
---|
TabInfo(javax.swing.JComponent component) |
Modifier and Type | Method and Description |
---|---|
TabInfo |
append(java.lang.String fragment,
SimpleTextAttributes attributes) |
boolean |
canBeDraggedOut() |
TabInfo |
clearText(boolean invalidate) |
void |
fireAlert() |
javax.swing.JComponent |
getActionsContextComponent() |
AlertIcon |
getAlertIcon() |
int |
getBlinkCount() |
java.beans.PropertyChangeSupport |
getChangeSupport() |
SimpleColoredText |
getColoredText() |
javax.swing.JComponent |
getComponent() |
java.awt.Color |
getDefaultForeground() |
TabInfo.DragOutDelegate |
getDragOutDelegate() |
ActionGroup |
getGroup() |
javax.swing.Icon |
getIcon() |
javax.swing.JComponent |
getLastFocusOwner() |
java.lang.Object |
getObject() |
java.lang.String |
getPlace() |
javax.swing.JComponent |
getPreferredFocusableComponent() |
TabInfo |
getPreviousSelection() |
javax.swing.JComponent |
getSideComponent() |
java.lang.String |
getTabActionPlace() |
java.awt.Color |
getTabColor() |
ActionGroup |
getTabLabelActions() |
java.lang.String |
getText() |
java.lang.String |
getTooltipText() |
boolean |
isAlertRequested() |
boolean |
isEnabled() |
boolean |
isHidden() |
void |
putInfo(java.util.Map<java.lang.String,java.lang.String> info) |
void |
resetAlertRequest() |
void |
revalidate() |
TabInfo |
setActions(ActionGroup group,
java.lang.String place) |
TabInfo |
setActionsContextComponent(javax.swing.JComponent c) |
TabInfo |
setAlertIcon(AlertIcon alertIcon) |
void |
setBlinkCount(int blinkCount) |
TabInfo |
setComponent(java.awt.Component c) |
TabInfo |
setDefaultForeground(java.awt.Color fg) |
TabInfo |
setDefaultStyle(int style) |
TabInfo |
setDefaultWaveColor(java.awt.Color waveColor) |
TabInfo |
setDragOutDelegate(TabInfo.DragOutDelegate delegate) |
void |
setEnabled(boolean enabled) |
void |
setHidden(boolean hidden) |
TabInfo |
setIcon(javax.swing.Icon icon) |
void |
setLastFocusOwner(javax.swing.JComponent owner) |
TabInfo |
setObject(java.lang.Object object) |
TabInfo |
setPreferredFocusableComponent(javax.swing.JComponent component) |
void |
setPreviousSelection(TabInfo previousSelection) |
TabInfo |
setSideComponent(javax.swing.JComponent comp) |
TabInfo |
setTabColor(java.awt.Color color) |
TabInfo |
setTabLabelActions(ActionGroup tabActions,
java.lang.String place) |
TabInfo |
setTestableUi(Queryable queryable) |
TabInfo |
setText(java.lang.String text) |
TabInfo |
setTooltipText(java.lang.String text) |
void |
stopAlerting() |
java.lang.String |
toString() |
public static final java.lang.String ACTION_GROUP
public static final java.lang.String ICON
public static final java.lang.String TAB_COLOR
public static final java.lang.String COMPONENT
public static final java.lang.String TEXT
public static final java.lang.String TAB_ACTION_GROUP
public static final java.lang.String ALERT_ICON
public static final java.lang.String ALERT_STATUS
public static final java.lang.String HIDDEN
public static final java.lang.String ENABLED
public java.beans.PropertyChangeSupport getChangeSupport()
public TabInfo setText(java.lang.String text)
public TabInfo clearText(boolean invalidate)
public TabInfo append(java.lang.String fragment, SimpleTextAttributes attributes)
public TabInfo setIcon(javax.swing.Icon icon)
public TabInfo setComponent(java.awt.Component c)
public ActionGroup getGroup()
public javax.swing.JComponent getComponent()
public java.lang.String getText()
public SimpleColoredText getColoredText()
public javax.swing.Icon getIcon()
public java.lang.String getPlace()
getPlace
in interface PlaceProvider<java.lang.String>
public TabInfo setSideComponent(javax.swing.JComponent comp)
public javax.swing.JComponent getSideComponent()
public TabInfo setActions(ActionGroup group, java.lang.String place)
public TabInfo setActionsContextComponent(javax.swing.JComponent c)
public javax.swing.JComponent getActionsContextComponent()
public TabInfo setObject(java.lang.Object object)
public java.lang.Object getObject()
public javax.swing.JComponent getPreferredFocusableComponent()
public TabInfo setPreferredFocusableComponent(javax.swing.JComponent component)
public void setLastFocusOwner(javax.swing.JComponent owner)
public ActionGroup getTabLabelActions()
public java.lang.String getTabActionPlace()
public TabInfo setTabLabelActions(ActionGroup tabActions, java.lang.String place)
public javax.swing.JComponent getLastFocusOwner()
public void fireAlert()
public void stopAlerting()
public int getBlinkCount()
public void setBlinkCount(int blinkCount)
public java.lang.String toString()
toString
in class java.lang.Object
public AlertIcon getAlertIcon()
public void resetAlertRequest()
public boolean isAlertRequested()
public void setHidden(boolean hidden)
public boolean isHidden()
public void setEnabled(boolean enabled)
public boolean isEnabled()
public TabInfo setDefaultStyle(int style)
public TabInfo setDefaultForeground(java.awt.Color fg)
public java.awt.Color getDefaultForeground()
public TabInfo setDefaultWaveColor(java.awt.Color waveColor)
public void revalidate()
public TabInfo setTooltipText(java.lang.String text)
public java.lang.String getTooltipText()
public TabInfo setTabColor(java.awt.Color color)
public java.awt.Color getTabColor()
public void putInfo(java.util.Map<java.lang.String,java.lang.String> info)
public TabInfo setDragOutDelegate(TabInfo.DragOutDelegate delegate)
public boolean canBeDraggedOut()
public TabInfo.DragOutDelegate getDragOutDelegate()
public void setPreviousSelection(TabInfo previousSelection)
public TabInfo getPreviousSelection()