|
||||||||||
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
javax.swing.JPanel
org.apache.batik.apps.svgbrowser.StatusBar
public class StatusBar
This class represents a viewer status bar.
Nested Class Summary | |
---|---|
protected class |
StatusBar.DisplayThread
To display the main message |
Nested classes/interfaces inherited from class javax.swing.JPanel |
---|
JPanel.AccessibleJPanel |
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 static ResourceBundle |
bundle
The resource bundle |
protected StatusBar.DisplayThread |
displayThread
The current display thread. |
protected String |
mainMessage
The main message |
protected JLabel |
message
The message label |
protected static String |
RESOURCES
The gui resources file name |
protected static ResourceManager |
rManager
The resource manager |
protected String |
temporaryMessage
The temporary message |
protected JLabel |
xPosition
The x position/width label. |
protected JLabel |
yPosition
The y position/height label. |
protected JLabel |
zoom
The zoom label. |
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()
Creates a new status bar. |
Method Summary | |
---|---|
void |
setHeight(float h)
Sets the height. |
void |
setMainMessage(String s)
Sets the main message |
void |
setMessage(String s)
Sets a temporary message |
void |
setWidth(float w)
Sets the width. |
void |
setXPosition(float x)
Sets the x position. |
void |
setYPosition(float y)
Sets the y position. |
void |
setZoom(float f)
Sets the zoom factor. |
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final String RESOURCES
protected static ResourceBundle bundle
protected static ResourceManager rManager
protected JLabel xPosition
protected JLabel yPosition
protected JLabel zoom
protected JLabel message
protected String mainMessage
protected String temporaryMessage
protected StatusBar.DisplayThread displayThread
Constructor Detail |
---|
public StatusBar()
Method Detail |
---|
public void setXPosition(float x)
public void setWidth(float w)
public void setYPosition(float y)
public void setHeight(float h)
public void setZoom(float f)
public void setMessage(String s)
s
- the messagepublic void setMainMessage(String s)
s
- the message
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |