Lines Matching defs:kit

63  * recognized.  The kit used in this case is an extension of
66 * <dd>HTML text. The kit used in this case is the class
70 * <dd>RTF text. The kit used in this case is the class
353 * pane is set, and if the editor kit for the pane is
436 if (kit != null) {
437 Document doc = initializeModel(kit, page);
491 private Document initializeModel(EditorKit kit, URL page) {
492 Document doc = kit.createDefaultDocument();
517 * This method initializes from a stream. If the kit is
534 kit instanceof HTMLEditorKit) {
568 kit.read(r, doc, 0);
626 if (kit == null) {
638 doc = initializeModel(kit, page);
898 * Creates the default editor kit (<code>PlainEditorKit</code>) for when
901 * @return the editor kit
908 * Fetches the currently installed kit for handling content.
912 * @return the editor kit
915 if (kit == null) {
916 kit = createDefaultEditorKit();
919 return kit;
928 * @return the content type, <code>null</code> if no editor kit set
931 return (kit != null) ? kit.getContentType() : null;
937 * and then <code>setEditorKit</code> if an editor kit can
977 if ((kit == null) || (! type.equals(kit.getContentType()))
980 if (k != null && k != kit) {
1026 * Sets the currently installed kit for handling
1029 * Any old kit is first deinstalled, then if kit is
1031 * the new kit is installed, and a default document created for it.
1042 * @param kit the desired editor behavior
1045 * description: the currently installed kit for handling content
1049 public void setEditorKit(EditorKit kit) {
1050 EditorKit old = this.kit;
1055 this.kit = kit;
1056 if (this.kit != null) {
1057 this.kit.install(this);
1058 setDocument(this.kit.createDefaultDocument());
1060 firePropertyChange("editorKit", old, kit);
1064 * Fetches the editor kit to use for the given type
1080 * @return the editor kit
1100 * Directly sets the editor kit to use for the given type. A
1106 * @param k the editor kit to be set
1134 EditorKit kit = getEditorKit();
1135 if(kit instanceof StyledEditorKit) {
1144 ((StyledEditorKit)kit).getInputAttributes());
1151 doc.insertString(p0, content, ((StyledEditorKit)kit).
1171 * is made to dynamically load the prototype of the kit for the
1181 * @return the editor kit, or <code>null</code> if there is nothing
1414 EditorKit kit = getEditorKit();
1415 kit.read(r, doc, 0);
1520 private EditorKit kit;
1590 String kitString = (kit != null ?
1591 kit.toString() : "");
1596 ",kit=" + kitString +
1706 HTMLEditorKit kit = (HTMLEditorKit)JEditorPane.this.getEditorKit();
1707 accessibleContext = kit.getAccessibleContext();
2078 * kit. The default is to have the UI produce the