public final class OverviewStatus
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static javax.swing.Icon |
BUSY_ICON
A common icon that represents the overview is busy (e.g.
|
static java.awt.Color |
ERROR
The common error status color.
|
static java.awt.Color |
INCOMPLETE
The common incomplete status color.
|
static java.awt.Color |
OK
The common OK status color.
|
static java.awt.Color |
WARNING
The common warning status color.
|
Constructor and Description |
---|
OverviewStatus(Overview overview)
Create an OverviewStatus.
|
Modifier and Type | Method and Description |
---|---|
void |
setColor(java.awt.Color color)
Set the status to render in the given color.
|
void |
setIcon(javax.swing.Icon icon)
Set the status to render the given icon.
|
void |
setTipProvider(OverviewTipProvider provider)
Set an optional tip provider to create content for a tip that may appear when the mouse is hovered over the status area.
|
public static final javax.swing.Icon BUSY_ICON
public static final java.awt.Color ERROR
public static final java.awt.Color OK
public static final java.awt.Color WARNING
public static final java.awt.Color INCOMPLETE
public OverviewStatus(Overview overview)
public void setColor(java.awt.Color color)
color
-public void setIcon(javax.swing.Icon icon)
icon
-public void setTipProvider(OverviewTipProvider provider)
The provider will be called with a set of all of the marks in the overview.
provider
-