org.media.hyperpad
Class HyperEditorKit

java.lang.Object
  |
  +--javax.swing.text.EditorKit
        |
        +--javax.swing.text.DefaultEditorKit
              |
              +--javax.swing.text.StyledEditorKit
                    |
                    +--javax.swing.text.html.HTMLEditorKit
                          |
                          +--org.media.hyperpad.HyperEditorKit
All Implemented Interfaces:
Accessible, Cloneable, Serializable

public class HyperEditorKit
extends HTMLEditorKit

Class needed by HyperPad for syntax highlighting.

Version:
$Revision: 1.1 $ $Date: 2002/09/13 18:51:36 $
Author:
Borsos Szabolcs
See Also:
String, Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.text.html.HTMLEditorKit
HTMLEditorKit.HTMLFactory, HTMLEditorKit.HTMLTextAction, HTMLEditorKit.InsertHTMLTextAction, HTMLEditorKit.LinkController, HTMLEditorKit.Parser, HTMLEditorKit.ParserCallback
 
Nested classes inherited from class javax.swing.text.StyledEditorKit
StyledEditorKit.AlignmentAction, StyledEditorKit.BoldAction, StyledEditorKit.FontFamilyAction, StyledEditorKit.FontSizeAction, StyledEditorKit.ForegroundAction, StyledEditorKit.ItalicAction, StyledEditorKit.StyledTextAction, StyledEditorKit.UnderlineAction
 
Nested classes inherited from class javax.swing.text.DefaultEditorKit
DefaultEditorKit.BeepAction, DefaultEditorKit.CopyAction, DefaultEditorKit.CutAction, DefaultEditorKit.DefaultKeyTypedAction, DefaultEditorKit.InsertBreakAction, DefaultEditorKit.InsertContentAction, DefaultEditorKit.InsertTabAction, DefaultEditorKit.PasteAction
 
Field Summary
 HTMLEditorKit.Parser parser
           
 
Fields inherited from class javax.swing.text.html.HTMLEditorKit
BOLD_ACTION, COLOR_ACTION, DEFAULT_CSS, FONT_CHANGE_BIGGER, FONT_CHANGE_SMALLER, IMG_ALIGN_BOTTOM, IMG_ALIGN_MIDDLE, IMG_ALIGN_TOP, IMG_BORDER, ITALIC_ACTION, LOGICAL_STYLE_ACTION, PARA_INDENT_LEFT, PARA_INDENT_RIGHT
 
Fields inherited from class javax.swing.text.DefaultEditorKit
backwardAction, beepAction, beginAction, beginLineAction, beginParagraphAction, beginWordAction, copyAction, cutAction, defaultKeyTypedAction, deleteNextCharAction, deletePrevCharAction, downAction, endAction, endLineAction, EndOfLineStringProperty, endParagraphAction, endWordAction, forwardAction, insertBreakAction, insertContentAction, insertTabAction, nextWordAction, pageDownAction, pageUpAction, pasteAction, previousWordAction, readOnlyAction, selectAllAction, selectionBackwardAction, selectionBeginAction, selectionBeginLineAction, selectionBeginParagraphAction, selectionBeginWordAction, selectionDownAction, selectionEndAction, selectionEndLineAction, selectionEndParagraphAction, selectionEndWordAction, selectionForwardAction, selectionNextWordAction, selectionPreviousWordAction, selectionUpAction, selectLineAction, selectParagraphAction, selectWordAction, upAction, writableAction
 
Constructor Summary
HyperEditorKit(int arg)
           
 
Method Summary
 Document createDefaultDocument()
           
static StyleSheet getDefaultStyle()
           
protected  HTMLEditorKit.Parser getParser()
           
protected static String hexColorValue(Color c)
           
 
Methods inherited from class javax.swing.text.html.HTMLEditorKit
clone, createInputAttributes, deinstall, getAccessibleContext, getActions, getContentType, getDefaultCursor, getInputAttributes, getLinkCursor, getStyleSheet, getViewFactory, insertHTML, install, read, setDefaultCursor, setLinkCursor, setStyleSheet, write
 
Methods inherited from class javax.swing.text.StyledEditorKit
getCharacterAttributeRun
 
Methods inherited from class javax.swing.text.DefaultEditorKit
createCaret, read, write
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parser

public HTMLEditorKit.Parser parser
Constructor Detail

HyperEditorKit

public HyperEditorKit(int arg)
Method Detail

createDefaultDocument

public Document createDefaultDocument()
Overrides:
createDefaultDocument in class HTMLEditorKit

getParser

protected HTMLEditorKit.Parser getParser()
Overrides:
getParser in class HTMLEditorKit

getDefaultStyle

public static StyleSheet getDefaultStyle()

hexColorValue

protected static String hexColorValue(Color c)


"Copyright © 2000-2002 Internet Multicasting Services, media.org & noLimits Technologies. All Rights Reserved."