org.apache.batik.util.gui

Class LocationBar

public class LocationBar extends JPanel

This class represents a location bar.
Field Summary
protected static ResourceBundlebundle
The resource bundle
protected JComboBoxcomboBox
The combo box
protected static ResourceManagerrManager
The resource manager
protected static StringRESOURCES
The gui resources file name
Constructor Summary
LocationBar()
Creates a new location bar.
Method Summary
voidaddActionListener(ActionListener listener)
Adds an action listener to this component.
voidaddToHistory(String text)
Adds the given text to the history.
StringgetText()
returns the current item text.
voidsetText(String text)
Sets the current text.

Field Detail

bundle

protected static ResourceBundle bundle
The resource bundle

comboBox

protected JComboBox comboBox
The combo box

rManager

protected static ResourceManager rManager
The resource manager

RESOURCES

protected static final String RESOURCES
The gui resources file name

Constructor Detail

LocationBar

public LocationBar()
Creates a new location bar.

Method Detail

addActionListener

public void addActionListener(ActionListener listener)
Adds an action listener to this component.

addToHistory

public void addToHistory(String text)
Adds the given text to the history.

getText

public String getText()
returns the current item text.

setText

public void setText(String text)
Sets the current text.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.