Uses of Class
ca.cgjennings.ui.textedit.CodeType
-
Packages that use CodeType Package Description ca.cgjennings.apps.arkham ca.cgjennings.apps.arkham.editors ca.cgjennings.ui.textedit -
-
Uses of CodeType in ca.cgjennings.apps.arkham
Methods in ca.cgjennings.apps.arkham that return CodeType Modifier and Type Method Description CodeTypeContextBar.Context. getCodeType()If the current target is a code editor, returns theCodeTypeof the code being edited. -
Uses of CodeType in ca.cgjennings.apps.arkham.editors
Methods in ca.cgjennings.apps.arkham.editors that return CodeType Modifier and Type Method Description CodeTypeCodeEditor. getCodeType()Methods in ca.cgjennings.apps.arkham.editors with parameters of type CodeType Modifier and Type Method Description static AbbreviationTableManager.LanguageAwareAbbreviationTableAbbreviationTableManager. getTable(CodeType type)Returns the shared abbreviation table for the given code type.static booleanAbbreviationTableManager. isCodeTypeMapped(CodeType type)Returnstrueif the specified code type is mapped to another type for the purposes of loading an abbreviation table.static voidAbbreviationTableManager. saveUserTable(CodeType type, AbbreviationTable at)Saves the specified table as the user table for the given code type.Constructors in ca.cgjennings.apps.arkham.editors with parameters of type CodeType Constructor Description CodeEditor(java.io.File file, CodeType codeType)Creates a new code editor for the requested file and file type.CodeEditor(java.io.File file, java.lang.String encoding, CodeType codeType)Creates a new code editor for the requested file, encoding, and file type.CodeEditor(java.io.File file, java.nio.charset.Charset encoding, CodeType codeType)Creates a new code editor for the requested file, encoding, and file type.CodeEditor(java.lang.String text, CodeType codeType)Creates a new code editor that displays text but does not allow it to be edited unless the user creates a copy using Save As.CodeEditor(java.lang.String text, java.lang.String encoding, CodeType codeType)Creates a new code editor that displays text but does not allow it to be edited unless the user creates a copy using Save As. -
Uses of CodeType in ca.cgjennings.ui.textedit
Methods in ca.cgjennings.ui.textedit that return CodeType Modifier and Type Method Description static CodeTypeCodeType. forFile(java.io.File f)Return the type of this file, based on its extension, or null.CodeTypeCodeEditorBase. getCodeType()Returns the code type used for syntax highlighting and related features.CodeTypeCodeType. normalize()Normalizes the code type by converting variant types to their common base type.static CodeTypeCodeType. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CodeType[]CodeType. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in ca.cgjennings.ui.textedit with parameters of type CodeType Modifier and Type Method Description voidCodeEditorBase. setCodeType(CodeType type)Changes the code type used for syntax highlighting and enables any additional support features that are available for the language.voidCodeEditorBase. setCodeType(CodeType type, boolean enableAdvancedFeatures)Changes the code type used for syntax highlighting.Constructors in ca.cgjennings.ui.textedit with parameters of type CodeType Constructor Description HtmlStyler(CodeType type)Creates a new styler for the specified code type.HtmlStyler(CodeType type, boolean noBackgroundColor, boolean noFontStyles, boolean matchTheme)Creates a new styler for the specified code type.
-