APIdia Launch Partner
Top Fields Constructors Methods
com.sun.java.swing.ui

public Class StatusBar

extends JPanel
implements ActionListener, MouseListener
Class Inheritance
All Implemented Interfaces
java.awt.event.MouseListener, java.util.EventListener, java.awt.event.ActionListener
Imports
java.awt.*, java.awt.event.*, javax.swing.*

Field Summary

Modifier and TypeField and Description
private boolean
private JLabel
private Dimension
private static final int
private static final int
private JProgressBar
private static StatusBar
private Timer

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
actionPerformed(ActionEvent evt)

Implements java.awt.event.ActionListener.actionPerformed.

Invoked when an action occurs.

protected int
public static StatusBar
public Dimension
getPreferredSize()

Overrides javax.swing.JComponent.getPreferredSize.

If the preferredSize has been set to a non-null value just returns it.

protected int
public void
mouseClicked(MouseEvent mouseevent)

Implements java.awt.event.MouseListener.mouseClicked.

Invoked when the mouse button has been clicked (pressed and released) on a component.

public void
mouseEntered(MouseEvent evt)

Implements java.awt.event.MouseListener.mouseEntered.

Invoked when the mouse enters a component.

public void
mouseExited(MouseEvent evt)

Implements java.awt.event.MouseListener.mouseExited.

Invoked when the mouse exits a component.

public void
mousePressed(MouseEvent mouseevent)

Implements java.awt.event.MouseListener.mousePressed.

Invoked when a mouse button has been pressed on a component.

public void
mouseReleased(MouseEvent mouseevent)

Implements java.awt.event.MouseListener.mouseReleased.

Invoked when a mouse button has been released on a component.

public static void
public void
setMessage(String message)

public void
public void
Inherited from javax.swing.JPanel:
getAccessibleContextgetUIgetUIClassIDparamStringsetUIupdateUI

Field Detail

forwardback to summary
private boolean forward
labelback to summary
private JLabel label
preferredSizeback to summary
private Dimension preferredSize
PROGRESS_MAXback to summary
private static final int PROGRESS_MAX
PROGRESS_MINback to summary
private static final int PROGRESS_MIN
progressBarback to summary
private JProgressBar progressBar
statusBarback to summary
private static StatusBar statusBar
timerback to summary
private Timer timer

Constructor Detail

StatusBarback to summary
public StatusBar()

Method Detail

actionPerformedback to summary
public void actionPerformed(ActionEvent evt)

Implements java.awt.event.ActionListener.actionPerformed.

Doc from java.awt.event.ActionListener.actionPerformed.

Invoked when an action occurs.

getFontHeightback to summary
protected int getFontHeight()
getInstanceback to summary
public static StatusBar getInstance()
getPreferredSizeback to summary
public Dimension getPreferredSize()

Overrides javax.swing.JComponent.getPreferredSize.

Doc from javax.swing.JComponent.getPreferredSize.

If the preferredSize has been set to a non-null value just returns it. If the UI delegate's getPreferredSize method returns a non null value then return that; otherwise defer to the component's layout manager.

getWidthback to summary
protected int getWidth(String s)
mouseClickedback to summary
public void mouseClicked(MouseEvent mouseevent)

Implements java.awt.event.MouseListener.mouseClicked.

Doc from java.awt.event.MouseListener.mouseClicked.

Invoked when the mouse button has been clicked (pressed and released) on a component.

mouseEnteredback to summary
public void mouseEntered(MouseEvent evt)

Implements java.awt.event.MouseListener.mouseEntered.

Doc from java.awt.event.MouseListener.mouseEntered.

Invoked when the mouse enters a component.

mouseExitedback to summary
public void mouseExited(MouseEvent evt)

Implements java.awt.event.MouseListener.mouseExited.

Doc from java.awt.event.MouseListener.mouseExited.

Invoked when the mouse exits a component.

mousePressedback to summary
public void mousePressed(MouseEvent mouseevent)

Implements java.awt.event.MouseListener.mousePressed.

Doc from java.awt.event.MouseListener.mousePressed.

Invoked when a mouse button has been pressed on a component.

mouseReleasedback to summary
public void mouseReleased(MouseEvent mouseevent)

Implements java.awt.event.MouseListener.mouseReleased.

Doc from java.awt.event.MouseListener.mouseReleased.

Invoked when a mouse button has been released on a component.

setInstanceback to summary
public static void setInstance(StatusBar sb)
setMessageback to summary
public void setMessage(String message)
startBusyBarback to summary
public void startBusyBar()
stopBusyBarback to summary
public void stopBusyBar()