站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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.


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

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


 

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