|
||||||||||
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:
Distribution Licence: JSword is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. The License is available on the internet here, or by writing to: Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA The copyright to this program is held by it's authors. |
Licence
,
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.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
private JLabel |
lbl_message
Where the help messages go |
private JLabel |
lbl_name
Where the product name goes |
private JobsProgressBar |
pnl_progr
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 |
activateURL(URLEvent ev)
This method is called to indicate that an URL can be processed. |
void |
enterURL(URLEvent ev)
This method is called to indicate that the mouse has entered the URL. |
private void |
initialize()
Init the GUI |
void |
leaveURL(URLEvent ev)
This method is called to indicate that the mouse has left the URL. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private JobsProgressBar pnl_progr
private JLabel lbl_message
private JLabel lbl_name
private static final long serialVersionUID
Constructor Detail |
---|
public StatusBar()
Method Detail |
---|
private void initialize()
public void activateURL(URLEvent ev)
URLEventListener
activateURL
in interface URLEventListener
ev
- Describes the URLpublic void enterURL(URLEvent ev)
URLEventListener
enterURL
in interface URLEventListener
ev
- Describes the URLpublic void leaveURL(URLEvent ev)
URLEventListener
leaveURL
in interface URLEventListener
ev
- Describes the URLpublic 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-2004 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |