当前页面:
在线文档首页 >
NetBeans API Javadoc (Current Development Version)
StatusBar (Editor Library) - NetBeans API Javadoc (Current Development Version)
org.netbeans.editor
Class StatusBar
java.lang.Object
org.netbeans.editor.StatusBar
- All Implemented Interfaces:
- PropertyChangeListener, EventListener, DocumentListener, SettingsChangeListener
public class StatusBar
- extends Object
- implements PropertyChangeListener, SettingsChangeListener, DocumentListener
Status bar support
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CELL_MAIN
public static final String CELL_MAIN
- See Also:
- Constant Field Values
CELL_POSITION
public static final String CELL_POSITION
- See Also:
- Constant Field Values
CELL_TYPING_MODE
public static final String CELL_TYPING_MODE
- See Also:
- Constant Field Values
INSERT_LOCALE
public static final String INSERT_LOCALE
- See Also:
- Constant Field Values
OVERWRITE_LOCALE
public static final String OVERWRITE_LOCALE
- See Also:
- Constant Field Values
editorUI
protected EditorUI editorUI
StatusBar
public StatusBar(EditorUI editorUI)
settingsChange
public void settingsChange(SettingsChangeEvent evt)
- Specified by:
settingsChange
in interface SettingsChangeListener
insertUpdate
public void insertUpdate(DocumentEvent evt)
- Specified by:
insertUpdate
in interface DocumentListener
removeUpdate
public void removeUpdate(DocumentEvent evt)
- Specified by:
removeUpdate
in interface DocumentListener
changedUpdate
public void changedUpdate(DocumentEvent evt)
- Specified by:
changedUpdate
in interface DocumentListener
createPanel
protected JPanel createPanel()
isVisible
public boolean isVisible()
setVisible
public void setVisible(boolean v)
getPanel
public final JPanel getPanel()
initPanel
protected void initPanel()
propertyChange
public void propertyChange(PropertyChangeEvent evt)
- Specified by:
propertyChange
in interface PropertyChangeListener
getCellCount
public int getCellCount()
addCell
public JLabel addCell(String name,
String[] widestStrings)
addCell
public JLabel addCell(int i,
String name,
String[] widestStrings)
addCustomCell
public void addCustomCell(int i,
JLabel c)
getCellByName
public JLabel getCellByName(String name)
getText
public String getText(String cellName)
setText
public void setText(String cellName,
String text)
setBoldText
public void setBoldText(String cellName,
String text)
setText
public void setText(String cellName,
String text,
Coloring extraColoring)