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

NbDocument.CustomToolbar (NetBeans Text API) - NetBeans API Javadoc 5.5.0

org.openide.text 6.9.22

org.openide.text
Interface NbDocument.CustomToolbar

All Superinterfaces:
Document
Enclosing class:
NbDocument

public static interface NbDocument.CustomToolbar
extends Document

Enabled documents to add special UI toolbar components to their Editor pane.


Field Summary
 
Fields inherited from interface javax.swing.text.Document
StreamDescriptionProperty, TitleProperty
 
Method Summary
 JToolBar createToolbar(JEditorPane j)
          Implementation shall return a toolbar for the document.
 
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
 

Method Detail

createToolbar

JToolBar createToolbar(JEditorPane j)
Implementation shall return a toolbar for the document. Preferably non-floatable.


org.openide.text 6.9.22

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