Package megamek.client.ui.util
Class BASE64ToolKit
java.lang.Object
javax.swing.text.EditorKit
javax.swing.text.DefaultEditorKit
javax.swing.text.StyledEditorKit
javax.swing.text.html.HTMLEditorKit
megamek.client.ui.util.BASE64ToolKit
- All Implemented Interfaces:
- Serializable,- Cloneable,- Accessible
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class javax.swing.text.html.HTMLEditorKitHTMLEditorKit.HTMLFactory, HTMLEditorKit.HTMLTextAction, HTMLEditorKit.InsertHTMLTextAction, HTMLEditorKit.LinkController, HTMLEditorKit.Parser, HTMLEditorKit.ParserCallbackNested classes/interfaces inherited from class javax.swing.text.StyledEditorKitStyledEditorKit.AlignmentAction, StyledEditorKit.BoldAction, StyledEditorKit.FontFamilyAction, StyledEditorKit.FontSizeAction, StyledEditorKit.ForegroundAction, StyledEditorKit.ItalicAction, StyledEditorKit.StyledTextAction, StyledEditorKit.UnderlineActionNested classes/interfaces inherited from class javax.swing.text.DefaultEditorKitDefaultEditorKit.BeepAction, DefaultEditorKit.CopyAction, DefaultEditorKit.CutAction, DefaultEditorKit.DefaultKeyTypedAction, DefaultEditorKit.InsertBreakAction, DefaultEditorKit.InsertContentAction, DefaultEditorKit.InsertTabAction, DefaultEditorKit.PasteAction
- 
Field SummaryFields inherited from class javax.swing.text.html.HTMLEditorKitBOLD_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_RIGHTFields inherited from class javax.swing.text.DefaultEditorKitbackwardAction, beepAction, beginAction, beginLineAction, beginParagraphAction, beginWordAction, copyAction, cutAction, defaultKeyTypedAction, deleteNextCharAction, deleteNextWordAction, deletePrevCharAction, deletePrevWordAction, 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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns a unique url for the image.Methods inherited from class javax.swing.text.html.HTMLEditorKitclone, createDefaultDocument, createInputAttributes, deinstall, getAccessibleContext, getActions, getContentType, getDefaultCursor, getInputAttributes, getLinkCursor, getParser, getStyleSheet, insertHTML, install, isAutoFormSubmission, read, setAutoFormSubmission, setDefaultCursor, setLinkCursor, setStyleSheet, writeMethods inherited from class javax.swing.text.StyledEditorKitgetCharacterAttributeRunMethods inherited from class javax.swing.text.DefaultEditorKitcreateCaret, read, write
- 
Constructor Details- 
BASE64ToolKitpublic BASE64ToolKit()
 
- 
- 
Method Details- 
getViewFactoryReturns a unique url for the image. It's created by getting the code location and adding the element to it. This doesn't strictly need to be an actual url, it just needs to be unique and properly formatted.- Overrides:
- getViewFactoryin class- HTMLEditorKit
- Returns:
- the ViewFactory that creates BASE64ImageView objects
 
 
-