javax.swing.text.PlainView Java Examples

The following examples show how to use javax.swing.text.PlainView. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: OutputEditorKit.java    From netbeans with Apache License 2.0 4 votes vote down vote up
public View create(Element element) {
    return (element instanceof OutputDocument.RootElement)
           ? new OutputView(element)
           : new PlainView(element);
}
 
Example #2
Source File: OQLEditorComponent.java    From visualvm with GNU General Public License v2.0 votes vote down vote up
public View create(Element elem) { return new PlainView(elem); } 
Example #3
Source File: REditorComponent.java    From visualvm with GNU General Public License v2.0 votes vote down vote up
public View create(Element elem) { return new PlainView(elem); }