org.apache.batik.apps.svgbrowser

Class StatusBar

public class StatusBar extends JPanel

This class represents a viewer status bar.
Nested Class Summary
protected classStatusBar.DisplayThread
To display the main message
Field Summary
protected static ResourceBundlebundle
The resource bundle
protected StatusBar.DisplayThreaddisplayThread
The current display thread.
protected StringmainMessage
The main message
protected JLabelmessage
The message label
protected static ResourceManagerrManager
The resource manager
protected static StringRESOURCES
The gui resources file name
protected StringtemporaryMessage
The temporary message
protected JLabelxPosition
The x position/width label.
protected JLabelyPosition
The y position/height label.
protected JLabelzoom
The zoom label.
Constructor Summary
StatusBar()
Creates a new status bar.
Method Summary
voidsetHeight(float h)
Sets the height.
voidsetMainMessage(String s)
Sets the main message
voidsetMessage(String s)
Sets a temporary message
voidsetWidth(float w)
Sets the width.
voidsetXPosition(float x)
Sets the x position.
voidsetYPosition(float y)
Sets the y position.
voidsetZoom(float f)
Sets the zoom factor.

Field Detail

bundle

protected static ResourceBundle bundle
The resource bundle

displayThread

protected StatusBar.DisplayThread displayThread
The current display thread.

mainMessage

protected String mainMessage
The main message

message

protected JLabel message
The message label

rManager

protected static ResourceManager rManager
The resource manager

RESOURCES

protected static final String RESOURCES
The gui resources file name

temporaryMessage

protected String temporaryMessage
The temporary message

xPosition

protected JLabel xPosition
The x position/width label.

yPosition

protected JLabel yPosition
The y position/height label.

zoom

protected JLabel zoom
The zoom label.

Constructor Detail

StatusBar

public StatusBar()
Creates a new status bar.

Method Detail

setHeight

public void setHeight(float h)
Sets the height.

setMainMessage

public void setMainMessage(String s)
Sets the main message

Parameters: s the message

setMessage

public void setMessage(String s)
Sets a temporary message

Parameters: s the message

setWidth

public void setWidth(float w)
Sets the width.

setXPosition

public void setXPosition(float x)
Sets the x position.

setYPosition

public void setYPosition(float y)
Sets the y position.

setZoom

public void setZoom(float f)
Sets the zoom factor.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.