站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

StatusBar (Editor Library) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.editor.lib/1 1.14.0 3

org.netbeans.editor
Class StatusBar

java.lang.Object
  extended by org.netbeans.editor.StatusBar
All Implemented Interfaces:
PropertyChangeListener, EventListener, DocumentListener, SettingsChangeListener

public class StatusBar
extends Object
implements PropertyChangeListener, SettingsChangeListener, DocumentListener

Status bar support


Nested Class Summary
static class StatusBar.StatusBarFactory
           
 
Field Summary
static String CELL_MAIN
           
static String CELL_POSITION
           
static String CELL_TYPING_MODE
           
protected  EditorUI editorUI
           
static String INSERT_LOCALE
           
static String OVERWRITE_LOCALE
           
 
Constructor Summary
StatusBar(EditorUI editorUI)
           
 
Method Summary
 JLabel addCell(int i, String name, String[] widestStrings)
           
 JLabel addCell(String name, String[] widestStrings)
           
 void addCustomCell(int i, JLabel c)
           
 void changedUpdate(DocumentEvent evt)
           
protected  JPanel createPanel()
           
 JLabel getCellByName(String name)
           
 int getCellCount()
           
 JPanel getPanel()
           
 String getText(String cellName)
           
protected  void initPanel()
           
 void insertUpdate(DocumentEvent evt)
           
 boolean isVisible()
           
 void propertyChange(PropertyChangeEvent evt)
           
 void removeUpdate(DocumentEvent evt)
           
 void setBoldText(String cellName, String text)
           
 void setText(String cellName, String text)
           
 void setText(String cellName, String text, Coloring extraColoring)
           
 void settingsChange(SettingsChangeEvent evt)
           
 void setVisible(boolean v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

StatusBar

public StatusBar(EditorUI editorUI)
Method Detail

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)

org.netbeans.modules.editor.lib/1 1.14.0 3

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.