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 4 2005.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.