|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
org.crosswire.bibledesktop.desktop.StatusBar
public class StatusBar
The status bar provides useful info to the user as to the current state of the program.
We need to think about the stuff to put in here:
for license details.
,
Serialized FormNested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
protected JLabel |
labelMessage
Where the help messages go |
private JobsProgressBar |
panelProgress
Where the progress bars go |
private static long |
serialVersionUID
Serialization ID |
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
StatusBar()
Create a new StatusBar |
Method Summary | |
---|---|
void |
activateURI(URIEvent ev)
This method is called to indicate that an URI can be processed. |
void |
enterURI(URIEvent ev)
This method is called to indicate that the mouse has entered the URI. |
private void |
initialize()
Init the GUI |
void |
leaveURI(URIEvent ev)
This method is called to indicate that the mouse has left the URI. |
void |
mouseClicked(MouseEvent ev)
Invoked when the mouse has been clicked on a component. |
void |
mouseEntered(MouseEvent ev)
When the mouse points at something that has registered with us to be shown on the statusbar |
void |
mouseExited(MouseEvent ev)
When the mouse no longer points at something that has registered with us |
void |
mousePressed(MouseEvent ev)
Invoked when a mouse button has been pressed on a component. |
void |
mouseReleased(MouseEvent ev)
Invoked when a mouse button has been released on a component. |
void |
setText(String txt)
Sets the text to display |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private JobsProgressBar panelProgress
protected JLabel labelMessage
private static final long serialVersionUID
Constructor Detail |
---|
public StatusBar()
Method Detail |
---|
private void initialize()
public void activateURI(URIEvent ev)
URIEventListener
activateURI
in interface URIEventListener
ev
- Describes the URIpublic void enterURI(URIEvent ev)
URIEventListener
enterURI
in interface URIEventListener
ev
- Describes the URIpublic void leaveURI(URIEvent ev)
URIEventListener
leaveURI
in interface URIEventListener
ev
- Describes the URIpublic void setText(String txt)
txt
- The textpublic void mouseEntered(MouseEvent ev)
mouseEntered
in interface MouseListener
MouseListener.mouseEntered(java.awt.event.MouseEvent)
public void mouseExited(MouseEvent ev)
mouseExited
in interface MouseListener
MouseListener.mouseExited(java.awt.event.MouseEvent)
public void mouseClicked(MouseEvent ev)
mouseClicked
in interface MouseListener
MouseListener.mouseClicked(java.awt.event.MouseEvent)
public void mousePressed(MouseEvent ev)
mousePressed
in interface MouseListener
MouseListener.mousePressed(java.awt.event.MouseEvent)
public void mouseReleased(MouseEvent ev)
mouseReleased
in interface MouseListener
MouseListener.mouseReleased(java.awt.event.MouseEvent)
|
Copyright ยจ 2003-2015 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |