当前页面:
在线文档首页 >
NetBeans API Javadoc 5.0.0
NbDocument.CustomToolbar (NetBeans Text API) - NetBeans API Javadoc 5.0.0
org.openide.text
Interface NbDocument.CustomToolbar
- All Superinterfaces:
- Document
- Enclosing interface:
- NbDocument
- public static interface NbDocument.CustomToolbar
- extends Document
Enabled documents to add special UI toolbar components to their Editor pane.
Methods inherited from interface javax.swing.text.Document |
addDocumentListener, addUndoableEditListener, createPosition, getDefaultRootElement, getEndPosition, getLength, getProperty, getRootElements, getStartPosition, getText, getText, insertString, putProperty, remove, removeDocumentListener, removeUndoableEditListener, render |
createToolbar
public JToolBar createToolbar(JEditorPane j)
- Implementation shall return a toolbar for the document. Preferably non-floatable.