Searched refs:EditorKit (Results 1 - 13 of 13) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DEditorKit.java34 * of text content. The EditorKit acts as a factory for some
48 public abstract class EditorKit implements Cloneable, Serializable { class in inherits:Cloneable,Serializable
51 * Construct an EditorKit.
53 public EditorKit() { method in class:EditorKit
H A DStyledEditorKit.java50 * Creates a new EditorKit used for styled documents.
82 // --- EditorKit methods ---------------------------
207 * the text component that the EditorKit gets installed
228 // EditorKit might not have installed the StyledDocument yet.
426 EditorKit k = e.getEditorKit();
430 throw new IllegalArgumentException("EditorKit must be StyledEditorKit");
H A DDefaultEditorKit.java73 public class DefaultEditorKit extends EditorKit {
H A DJTextComponent.java1615 * @see EditorKit#createDefaultDocument
1620 EditorKit kit = getUI().getEditorKit(this);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicEditorPaneUI.java105 * Fetches the EditorKit for the UI. This is whatever is
111 public EditorKit getEditorKit(JTextComponent tc) {
118 * is not shared because it changes with the EditorKit.
123 EditorKit editorKit = getEditorKit(getComponent());
145 * EditorKit change.
156 if (oldValue instanceof EditorKit) {
157 Action[] actions = ((EditorKit)oldValue).getActions();
163 if (newValue instanceof EditorKit) {
164 Action[] actions = ((EditorKit)newValue).getActions();
H A DBasicTextUI.java85 * is to have the EditorKit implementation return a factory. Since
86 * the EditorKit ties all of the pieces necessary to maintain a type
88 * and should be produced by the EditorKit implementation.
521 EditorKit editorKit = getEditorKit(editor);
1186 * Fetches the EditorKit for the UI.
1192 public EditorKit getEditorKit(JTextComponent tc) {
1299 private static final EditorKit defaultKit = new DefaultEditorKit();
1736 * EditorKit unless that is null, in which case this
1744 EditorKit kit = getEditorKit(editor);
2220 * of the EditorKit fo
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/
H A DJEditorPane.java51 * <code>EditorKit</code> to accomplish its behavior. It effectively
54 * to at any given time is determined by the <code>EditorKit</code> currently
56 * to determine the <code>EditorKit</code> that should be used to
80 * <code>EditorKit</code> will be used, and the content type will be
88 * In this case the current <code>EditorKit</code> will be used,
93 * determined from the URL, and the registered <code>EditorKit</code>
98 * hyperlink events. The HTML <code>EditorKit</code> will generate
157 * <code>EditorKit</code>.read operation throw a
330 * by the currently installed <code>EditorKit</code> if a content type
373 * depending upon the document returned by the <code>EditorKit</cod
[all...]
H A DJTextPane.java91 EditorKit editorKit = createDefaultEditorKit();
453 * Creates the <code>EditorKit</code> to use by default. This
458 protected EditorKit createDefaultEditorKit() {
471 public final void setEditorKit(EditorKit kit) {
/openjdk7/jdk/src/share/classes/javax/swing/plaf/
H A DTextUI.java144 public abstract EditorKit getEditorKit(JTextComponent t);
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DFrameView.java462 public EditorKit getEditorKitForContentType(String type) {
463 EditorKit editorKit = super.getEditorKitForContentType(type);
466 EditorKit inheritedEditorKit = outerMostJEditorPane.getEditorKitForContentType(type);
468 editorKit = (EditorKit) inheritedEditorKit.clone();
H A DHTMLEditorKit.java46 * of content via a plug-in mechanism called an EditorKit. Because
54 * There are several goals of the HTML EditorKit provided, that have
144 * by the setting of the StyleSheet property on the EditorKit.
149 * An EditorKit has the ability to be read and save documents.
1506 EditorKit k = e.getEditorKit();
1510 throw new IllegalArgumentException("EditorKit must be HTMLEditorKit");
2008 EditorKit kit = ((JEditorPane) comp).getEditorKit();
/openjdk7/jdk/src/share/classes/javax/swing/plaf/multi/
H A DMultiTextUI.java35 import javax.swing.text.EditorKit;
195 public EditorKit getEditorKit(JTextComponent a) {
196 EditorKit returnValue =
/openjdk7/jdk/src/share/classes/sun/swing/text/
H A DTextComponentPrintable.java64 import javax.swing.text.EditorKit;
84 * to print the content using the {@code Document}, {@code EditorKit} and
379 public EditorKit getEditorKit() {
397 public EditorKit getEditorKit() {

Completed in 207 milliseconds