|
||||||||||
| 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
net.sf.jaxodraw.gui.panel.JaxoStatusBar
public class JaxoStatusBar
Displays the status bar.
| Nested Class Summary |
|---|
| 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 |
|---|
| 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 | |
|---|---|
JaxoStatusBar()
Constructor: just calls this(null). |
|
JaxoStatusBar(JaxoTab tab)
Constructor: displays the panel containing the current mode and the panel containing the coordinates. |
|
| Method Summary | |
|---|---|
String |
getCurrentCoordinateText()
Returns the text that is currently shown in the coordinates panel. |
String |
getCurrentFileText()
Returns the text that is currently shown in the file panel. |
String |
getCurrentModeText()
Returns the text that is currently shown in the mode panel. |
void |
propertyChange(PropertyChangeEvent e)
Applies a property change event. |
void |
stateChanged(ChangeEvent e)
Apply a change event. |
void |
updateLanguage()
Updates the component with the current language as set in the preferences ( JaxoPrefs.PREF_LANGUAGE). |
| 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 |
| Constructor Detail |
|---|
public JaxoStatusBar()
public JaxoStatusBar(JaxoTab tab)
tab - A JaxoTab (may be null). If not null, the file flag text will
be initialized with the saveFileName of the tab, and this flag panel
is registered as a ChangeListener (for eventual tab changes).| Method Detail |
|---|
public void propertyChange(PropertyChangeEvent e)
propertyChange in interface PropertyChangeListenere - the change event.public void stateChanged(ChangeEvent e)
stateChanged in interface ChangeListenere - The change event.public String getCurrentModeText()
public String getCurrentFileText()
public String getCurrentCoordinateText()
public final void updateLanguage()
JaxoPrefs.PREF_LANGUAGE).
updateLanguage in interface JaxoLocalized
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||