| |
|
| java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.text.JTextComponent javax.swing.JEditorPane
All known Subclasses: javax.swing.JTextPane,
JEditorPane | public class JEditorPane extends JTextComponent (Code) | | A text component to edit various kinds of content.
You can find how-to information and examples of using editor panes in
Using Text Components,
a section in The Java Tutorial.
This component uses implementations of the
EditorKit to accomplish its behavior. It effectively
morphs into the proper kind of text editor for the kind
of content it is given. The content type that editor is bound
to at any given time is determined by the EditorKit currently
installed. If the content is set to a new URL, its type is used
to determine the EditorKit that should be used to
load the content.
By default, the following types of content are known:
- text/plain
- Plain text, which is the default the type given isn't
recognized. The kit used in this case is an extension of
DefaultEditorKit that produces a wrapped plain text view.
- text/html
- HTML text. The kit used in this case is the class
javax.swing.text.html.HTMLEditorKit
which provides HTML 3.2 support.
- text/rtf
- RTF text. The kit used in this case is the class
javax.swing.text.rtf.RTFEditorKit
which provides a limited support of the Rich Text Format.
There are several ways to load content into this component.
-
The
JEditorPane.setText setText method can be used to initialize
the component from a string. In this case the current
EditorKit will be used, and the content type will be
expected to be of this type.
-
The
JEditorPane.read read method can be used to initialize the
component from a
Reader . Note that if the content type is HTML,
relative references (e.g. for things like images) can't be resolved
unless the <base> tag is used or the Base property
on HTMLDocument is set.
In this case the current EditorKit will be used,
and the content type will be expected to be of this type.
-
The
JEditorPane.setPage setPage method can be used to initialize
the component from a URL. In this case, the content type will be
determined from the URL, and the registered
EditorKit
for that content type will be set.
Some kinds of content may provide hyperlink support by generating
hyperlink events. The HTML EditorKit will generate
hyperlink events if the JEditorPane is not editable
(JEditorPane.setEditable(false); has been called).
If HTML frames are embedded in the document, the typical response would be
to change a portion of the current document. The following code
fragment is a possible hyperlink listener implementation, that treats
HTML frame events specially, and simply displays any other activated
hyperlinks.
class Hyperactive implements HyperlinkListener {
public void hyperlinkUpdate(HyperlinkEvent e) {
if (e.getEventType() == HyperlinkEvent.EventType.ACTIVATED) {
JEditorPane pane = (JEditorPane) e.getSource();
if (e instanceof HTMLFrameHyperlinkEvent) {
HTMLFrameHyperlinkEvent evt = (HTMLFrameHyperlinkEvent)e;
HTMLDocument doc = (HTMLDocument)pane.getDocument();
doc.processHTMLFrameHyperlinkEvent(evt);
} else {
try {
pane.setPage(e.getURL());
} catch (Throwable t) {
t.printStackTrace();
}
}
}
}
}
For information on customizing how text/html is rendered please see
JEditorPane.W3C_LENGTH_UNITS and
JEditorPane.HONOR_DISPLAY_PROPERTIES
Culturally dependent information in some documents is handled through
a mechanism called character encoding. Character encoding is an
unambiguous mapping of the members of a character set (letters, ideographs,
digits, symbols, or control functions) to specific numeric code values. It
represents the way the file is stored. Example character encodings are
ISO-8859-1, ISO-8859-5, Shift-jis, Euc-jp, and UTF-8. When the file is
passed to an user agent (JEditorPane ) it is converted to
the document character set (ISO-10646 aka Unicode).
There are multiple ways to get a character set mapping to happen
with JEditorPane .
-
One way is to specify the character set as a parameter of the MIME
type. This will be established by a call to the
setContentType method. If the content
is loaded by the setPage method the content
type will have been set according to the specification of the URL.
It the file is loaded directly, the content type would be expected to
have been set prior to loading.
-
Another way the character set can be specified is in the document itself.
This requires reading the document prior to determining the character set
that is desired. To handle this, it is expected that the
EditorKit .read operation throw a
ChangedCharSetException which will
be caught. The read is then restarted with a new Reader that uses
the character set specified in the ChangedCharSetException
(which is an IOException ).
- Newlines
-
For a discussion on how newlines are handled, see
DefaultEditorKit.
Warning: Swing is not thread safe. For more
information see Swing's Threading
Policy.
Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing. As of 1.4, support for long term storage
of all JavaBeansTM
has been added to the java.beans package.
Please see
java.beans.XMLEncoder .
author: Timothy Prinzing version: 1.145 05/05/07 |
Inner Class :class PageLoader extends Thread | |
Inner Class :protected class AccessibleJEditorPane extends AccessibleJTextComponent | |
Inner Class :protected class AccessibleJEditorPaneHTML extends AccessibleJEditorPane | |
Inner Class :protected class JEditorPaneAccessibleHypertextSupport extends AccessibleJEditorPane implements AccessibleHypertext | |
Inner Class :static class HeaderParser | |
Constructor Summary | |
public | JEditorPane() Creates a new JEditorPane . | public | JEditorPane(URL initialPage) Creates a JEditorPane based on a specified URL for input. | public | JEditorPane(String url) Creates a JEditorPane based on a string containing
a URL specification. | public | JEditorPane(String type, String text) Creates a JEditorPane that has been initialized
to the given text. |
Method Summary | |
public synchronized void | addHyperlinkListener(HyperlinkListener listener) Adds a hyperlink listener for notification of any changes, for example
when a link is selected and entered. | protected EditorKit | createDefaultEditorKit() Creates the default editor kit (PlainEditorKit ) for when
the component is first created. | public static EditorKit | createEditorKitForContentType(String type) Creates a handler for the given type from the default registry
of editor kits. | public void | fireHyperlinkUpdate(HyperlinkEvent e) Notifies all listeners that have registered interest for
notification on this event type. | public AccessibleContext | getAccessibleContext() Gets the AccessibleContext associated with this JEditorPane. | final public String | getContentType() Gets the type of content that this editor
is currently set to deal with. | public EditorKit | getEditorKit() Fetches the currently installed kit for handling content. | public static String | getEditorKitClassNameForContentType(String type) Returns the currently registered EditorKit
class name for the type type . | public EditorKit | getEditorKitForContentType(String type) Fetches the editor kit to use for the given type
of content. | public synchronized HyperlinkListener[] | getHyperlinkListeners() Returns an array of all the HyperLinkListener s added
to this JEditorPane with addHyperlinkListener(). | public URL | getPage() Gets the current URL being displayed. | public Dimension | getPreferredSize() Returns the preferred size for the JEditorPane .
The preferred size for JEditorPane is slightly altered
from the preferred size of the superclass. | public boolean | getScrollableTracksViewportHeight() Returns true if a viewport should always force the height of this
Scrollable to match the height of the viewport. | public boolean | getScrollableTracksViewportWidth() Returns true if a viewport should always force the width of this
Scrollable to match the width of the viewport. | protected InputStream | getStream(URL page) Fetches a stream for the given URL, which is about to
be loaded by the setPage method. | public String | getText() Returns the text contained in this TextComponent
in terms of the
content type of this editor. | public String | getUIClassID() Gets the class ID for the UI. | protected String | paramString() Returns a string representation of this JEditorPane .
This method
is intended to be used only for debugging purposes, and the
content and format of the returned string may vary between
implementations. | public void | read(InputStream in, Object desc) This method initializes from a stream. | void | read(InputStream in, Document doc) This method invokes the EditorKit to initiate a
read. | public static void | registerEditorKitForContentType(String type, String classname) Establishes the default bindings of type to
classname . | public static void | registerEditorKitForContentType(String type, String classname, ClassLoader loader) Establishes the default bindings of type to
classname . | public synchronized void | removeHyperlinkListener(HyperlinkListener listener) Removes a hyperlink listener. | public void | replaceSelection(String content) Replaces the currently selected content with new content
represented by the given string. | public void | scrollToReference(String reference) Scrolls the view to the given reference location
(that is, the value returned by the UL.getRef
method for the URL being displayed). | final public void | setContentType(String type) Sets the type of content that this editor
handles. | public void | setEditorKit(EditorKit kit) Sets the currently installed kit for handling
content. | public void | setEditorKitForContentType(String type, EditorKit k) Directly sets the editor kit to use for the given type. | public void | setPage(URL page) Sets the current URL being displayed. | public void | setPage(String url) Sets the current URL being displayed. | public void | setText(String t) Sets the text of this TextComponent to the specified
content,
which is expected to be in the format of the content type of
this editor. |
HONOR_DISPLAY_PROPERTIES | final public static String HONOR_DISPLAY_PROPERTIES(Code) | | Key for a client property used to indicate whether
the default font and foreground color from the component are
used if a font or foreground color is not specified in the styled
text.
The default varies based on the look and feel;
to enable it set the client
JEditorPane.putClientProperty property with
this name to Boolean.TRUE .
since: 1.5 |
PostDataProperty | final static String PostDataProperty(Code) | | Should be kept in sync with javax.swing.text.html.FormView counterpart.
|
W3C_LENGTH_UNITS | final public static String W3C_LENGTH_UNITS(Code) | | Key for a client property used to indicate whether
w3c compliant length units are used for html rendering.
By default this is not enabled; to enable
it set the client
JEditorPane.putClientProperty property with this name
to Boolean.TRUE .
since: 1.5 |
loading | PageStream loading(Code) | | Stream currently loading asynchronously (potentially cancelable).
Access to this variable should be synchronized.
|
JEditorPane | public JEditorPane()(Code) | | Creates a new JEditorPane .
The document model is set to null .
|
JEditorPane | public JEditorPane(URL initialPage) throws IOException(Code) | | Creates a JEditorPane based on a specified URL for input.
Parameters: initialPage - the URL exception: IOException - if the URL is null or cannot be accessed |
JEditorPane | public JEditorPane(String url) throws IOException(Code) | | Creates a JEditorPane based on a string containing
a URL specification.
Parameters: url - the URL exception: IOException - if the URL is null orcannot be accessed |
JEditorPane | public JEditorPane(String type, String text)(Code) | | Creates a JEditorPane that has been initialized
to the given text. This is a convenience constructor that calls the
setContentType and setText methods.
Parameters: type - mime type of the given text Parameters: text - the text to initialize with; may be null exception: NullPointerException - if the type parameteris null |
addHyperlinkListener | public synchronized void addHyperlinkListener(HyperlinkListener listener)(Code) | | Adds a hyperlink listener for notification of any changes, for example
when a link is selected and entered.
Parameters: listener - the listener |
createDefaultEditorKit | protected EditorKit createDefaultEditorKit()(Code) | | Creates the default editor kit (PlainEditorKit ) for when
the component is first created.
the editor kit |
createEditorKitForContentType | public static EditorKit createEditorKitForContentType(String type)(Code) | | Creates a handler for the given type from the default registry
of editor kits. The registry is created if necessary. If the
registered class has not yet been loaded, an attempt
is made to dynamically load the prototype of the kit for the
given type. If the type was registered with a ClassLoader ,
that ClassLoader will be used to load the prototype.
If there was no registered ClassLoader ,
Class.forName will be used to load the prototype.
Once a prototype EditorKit instance is successfully
located, it is cloned and the clone is returned.
Parameters: type - the content type the editor kit, or null if there is nothingregistered for the given type |
fireHyperlinkUpdate | public void fireHyperlinkUpdate(HyperlinkEvent e)(Code) | | Notifies all listeners that have registered interest for
notification on this event type. This is normally called
by the currently installed EditorKit if a content type
that supports hyperlinks is currently active and there
was activity with a link. The listener list is processed
last to first.
Parameters: e - the event See Also: EventListenerList |
getAccessibleContext | public AccessibleContext getAccessibleContext()(Code) | | Gets the AccessibleContext associated with this JEditorPane.
For editor panes, the AccessibleContext takes the form of an
AccessibleJEditorPane.
A new AccessibleJEditorPane instance is created if necessary.
an AccessibleJEditorPane that serves as the AccessibleContext of this JEditorPane |
getContentType | final public String getContentType()(Code) | | Gets the type of content that this editor
is currently set to deal with. This is
defined to be the type associated with the
currently installed EditorKit .
the content type, null if no editor kit set |
getEditorKit | public EditorKit getEditorKit()(Code) | | Fetches the currently installed kit for handling content.
createDefaultEditorKit is called to set up a default
if necessary.
the editor kit |
getEditorKitClassNameForContentType | public static String getEditorKitClassNameForContentType(String type)(Code) | | Returns the currently registered EditorKit
class name for the type type .
Parameters: type - the non-null content type since: 1.3 |
getEditorKitForContentType | public EditorKit getEditorKitForContentType(String type)(Code) | | Fetches the editor kit to use for the given type
of content. This is called when a type is requested
that doesn't match the currently installed type.
If the component doesn't have an EditorKit registered
for the given type, it will try to create an
EditorKit from the default EditorKit registry.
If that fails, a PlainEditorKit is used on the
assumption that all text documents can be represented
as plain text.
This method can be reimplemented to use some
other kind of type registry. This can
be reimplemented to use the Java Activation
Framework, for example.
Parameters: type - the non-null content type the editor kit |
getHyperlinkListeners | public synchronized HyperlinkListener[] getHyperlinkListeners()(Code) | | Returns an array of all the HyperLinkListener s added
to this JEditorPane with addHyperlinkListener().
all of the HyperLinkListener s added or an emptyarray if no listeners have been added since: 1.4 |
getPage | public URL getPage()(Code) | | Gets the current URL being displayed. If a URL was
not specified in the creation of the document, this
will return null , and relative URL's will not be
resolved.
the URL, or null if none |
getPreferredSize | public Dimension getPreferredSize()(Code) | | Returns the preferred size for the JEditorPane .
The preferred size for JEditorPane is slightly altered
from the preferred size of the superclass. If the size
of the viewport has become smaller than the minimum size
of the component, the scrollable definition for tracking
width or height will turn to false. The default viewport
layout will give the preferred size, and that is not desired
in the case where the scrollable is tracking. In that case
the normal preferred size is adjusted to the
minimum size. This allows things like HTML tables to
shrink down to their minimum size and then be laid out at
their minimum size, refusing to shrink any further.
a Dimension containing the preferred size |
getScrollableTracksViewportHeight | public boolean getScrollableTracksViewportHeight()(Code) | | Returns true if a viewport should always force the height of this
Scrollable to match the height of the viewport.
true if a viewport should force theScrollable 's height to match its own,false otherwise |
getScrollableTracksViewportWidth | public boolean getScrollableTracksViewportWidth()(Code) | | Returns true if a viewport should always force the width of this
Scrollable to match the width of the viewport.
true if a viewport should force the Scrollables width tomatch its own, false otherwise |
getStream | protected InputStream getStream(URL page) throws IOException(Code) | | Fetches a stream for the given URL, which is about to
be loaded by the setPage method. By
default, this simply opens the URL and returns the
stream. This can be reimplemented to do useful things
like fetch the stream from a cache, monitor the progress
of the stream, etc.
This method is expected to have the the side effect of
establishing the content type, and therefore setting the
appropriate EditorKit to use for loading the stream.
If this the stream was an http connection, redirects
will be followed and the resulting URL will be set as
the Document.StreamDescriptionProperty so that relative
URL's can be properly resolved.
Parameters: page - the URL of the page |
getText | public String getText()(Code) | | Returns the text contained in this TextComponent
in terms of the
content type of this editor. If an exception is thrown while
attempting to retrieve the text, null will be returned.
This is implemented to call JTextComponent.write with
a StringWriter .
the text See Also: JEditorPane.setText |
paramString | protected String paramString()(Code) | | Returns a string representation of this JEditorPane .
This method
is intended to be used only for debugging purposes, and the
content and format of the returned string may vary between
implementations. The returned string may be empty but may not
be null .
a string representation of this JEditorPane |
read | public void read(InputStream in, Object desc) throws IOException(Code) | | This method initializes from a stream. If the kit is
set to be of type HTMLEditorKit , and the
desc parameter is an HTMLDocument ,
then it invokes the HTMLEditorKit to initiate
the read. Otherwise it calls the superclass
method which loads the model as plain text.
Parameters: in - the stream from which to read Parameters: desc - an object describing the stream exception: IOException - as thrown by the stream beingused to initialize See Also: JTextComponent.read See Also: JEditorPane.setDocument |
read | void read(InputStream in, Document doc) throws IOException(Code) | | This method invokes the EditorKit to initiate a
read. In the case where a ChangedCharSetException
is thrown this exception will contain the new CharSet.
Therefore the read operation
is then restarted after building a new Reader with the new charset.
Parameters: in - the inputstream to use Parameters: doc - the document to load |
registerEditorKitForContentType | public static void registerEditorKitForContentType(String type, String classname)(Code) | | Establishes the default bindings of type to
classname .
The class will be dynamically loaded later when actually
needed, and can be safely changed before attempted uses
to avoid loading unwanted classes. The prototype
EditorKit will be loaded with Class.forName
when registered with this method.
Parameters: type - the non-null content type Parameters: classname - the class to load later |
registerEditorKitForContentType | public static void registerEditorKitForContentType(String type, String classname, ClassLoader loader)(Code) | | Establishes the default bindings of type to
classname .
The class will be dynamically loaded later when actually
needed using the given ClassLoader ,
and can be safely changed
before attempted uses to avoid loading unwanted classes.
Parameters: type - the non-null content type Parameters: classname - the class to load later Parameters: loader - the ClassLoader to use to load the name |
removeHyperlinkListener | public synchronized void removeHyperlinkListener(HyperlinkListener listener)(Code) | | Removes a hyperlink listener.
Parameters: listener - the listener |
replaceSelection | public void replaceSelection(String content)(Code) | | Replaces the currently selected content with new content
represented by the given string. If there is no selection
this amounts to an insert of the given text. If there
is no replacement text (i.e. the content string is empty
or null ) this amounts to a removal of the
current selection. The replacement text will have the
attributes currently defined for input. If the component is not
editable, beep and return.
This method is thread safe, although most Swing methods
are not. Please see
How
to Use Threads for more information.
Parameters: content - the content to replace the selection with. Thisvalue can be null |
scrollToReference | public void scrollToReference(String reference)(Code) | | Scrolls the view to the given reference location
(that is, the value returned by the UL.getRef
method for the URL being displayed). By default, this
method only knows how to locate a reference in an
HTMLDocument. The implementation calls the
scrollRectToVisible method to
accomplish the actual scrolling. If scrolling to a
reference location is needed for document types other
than HTML, this method should be reimplemented.
This method will have no effect if the component
is not visible.
Parameters: reference - the named location to scroll to |
setContentType | final public void setContentType(String type)(Code) | | Sets the type of content that this editor
handles. This calls getEditorKitForContentType ,
and then setEditorKit if an editor kit can
be successfully located. This is mostly convenience method
that can be used as an alternative to calling
setEditorKit directly.
If there is a charset definition specified as a parameter
of the content type specification, it will be used when
loading input streams using the associated EditorKit .
For example if the type is specified as
text/html; charset=EUC-JP the content
will be loaded using the EditorKit registered for
text/html and the Reader provided to
the EditorKit to load unicode into the document will
use the EUC-JP charset for translating
to unicode. If the type is not recognized, the content
will be loaded using the EditorKit registered
for plain text, text/plain .
Parameters: type - the non-null mime type for the content editingsupport See Also: JEditorPane.getContentType throws: NullPointerException - if the type parameteris null |
setEditorKit | public void setEditorKit(EditorKit kit)(Code) | | Sets the currently installed kit for handling
content. This is the bound property that
establishes the content type of the editor.
Any old kit is first deinstalled, then if kit is
non-null ,
the new kit is installed, and a default document created for it.
A PropertyChange event ("editorKit") is always fired when
setEditorKit is called.
NOTE: This has the side effect of changing the model,
because the EditorKit is the source of how a
particular type
of content is modeled. This method will cause setDocument
to be called on behalf of the caller to ensure integrity
of the internal state.
Parameters: kit - the desired editor behavior See Also: JEditorPane.getEditorKit |
setEditorKitForContentType | public void setEditorKitForContentType(String type, EditorKit k)(Code) | | Directly sets the editor kit to use for the given type. A
look-and-feel implementation might use this in conjunction
with createEditorKitForContentType to install handlers for
content types with a look-and-feel bias.
Parameters: type - the non-null content type Parameters: k - the editor kit to be set |
setPage | public void setPage(URL page) throws IOException(Code) | | Sets the current URL being displayed. The content type of the
pane is set, and if the editor kit for the pane is
non-null , then
a new default document is created and the URL is read into it.
If the URL contains and reference location, the location will
be scrolled to by calling the scrollToReference
method. If the desired URL is the one currently being displayed,
the document will not be reloaded. To force a document
reload it is necessary to clear the stream description property
of the document. The following code shows how this can be done:
Document doc = jEditorPane.getDocument();
doc.putProperty(Document.StreamDescriptionProperty, null);
If the desired URL is not the one currently being
displayed, the getStream method is called to
give subclasses control over the stream provided.
This may load either synchronously or asynchronously
depending upon the document returned by the EditorKit .
If the Document is of type
AbstractDocument and has a value returned by
AbstractDocument.getAsynchronousLoadPriority
that is greater than or equal to zero, the page will be
loaded on a separate thread using that priority.
If the document is loaded synchronously, it will be
filled in with the stream prior to being installed into
the editor with a call to setDocument , which
is bound and will fire a property change event. If an
IOException is thrown the partially loaded
document will
be discarded and neither the document or page property
change events will be fired. If the document is
successfully loaded and installed, a view will be
built for it by the UI which will then be scrolled if
necessary, and then the page property change event
will be fired.
If the document is loaded asynchronously, the document
will be installed into the editor immediately using a
call to setDocument which will fire a
document property change event, then a thread will be
created which will begin doing the actual loading.
In this case, the page property change event will not be
fired by the call to this method directly, but rather will be
fired when the thread doing the loading has finished.
It will also be fired on the event-dispatch thread.
Since the calling thread can not throw an IOException
in the event of failure on the other thread, the page
property change event will be fired when the other
thread is done whether the load was successful or not.
Parameters: page - the URL of the page exception: IOException - for a null or invalidpage specification, or exception from the stream being read See Also: JEditorPane.getPage |
setPage | public void setPage(String url) throws IOException(Code) | | Sets the current URL being displayed.
Parameters: url - the URL for display exception: IOException - for a null or invalid URLspecification |
setText | public void setText(String t)(Code) | | Sets the text of this TextComponent to the specified
content,
which is expected to be in the format of the content type of
this editor. For example, if the type is set to text/html
the string should be specified in terms of HTML.
This is implemented to remove the contents of the current document,
and replace them by parsing the given string using the current
EditorKit . This gives the semantics of the
superclass by not changing
out the model, while supporting the content type currently set on
this component. The assumption is that the previous content is
relatively
small, and that the previous content doesn't have side effects.
Both of those assumptions can be violated and cause undesirable results.
To avoid this, create a new document,
getEditorKit().createDefaultDocument() , and replace the
existing Document with the new one. You are then assured the
previous Document won't have any lingering state.
-
Leaving the existing model in place means that the old view will be
torn down, and a new view created, where replacing the document would
avoid the tear down of the old view.
-
Some formats (such as HTML) can install things into the document that
can influence future contents. HTML can have style information embedded
that would influence the next content installed unexpectedly.
An alternative way to load this component with a string would be to
create a StringReader and call the read method. In this case the model
would be replaced after it was initialized with the contents of the
string.
This method is thread safe, although most Swing methods
are not. Please see
How
to Use Threads for more information.
Parameters: t - the new text to be set; if null the oldtext will be deleted See Also: JEditorPane.getText |
Methods inherited from javax.swing.text.JTextComponent | public void addCaretListener(CaretListener listener)(Code)(Java Doc) public void addInputMethodListener(InputMethodListener l)(Code)(Java Doc) public static Keymap addKeymap(String nm, Keymap parent)(Code)(Java Doc) public void copy()(Code)(Java Doc) public void cut()(Code)(Java Doc) protected void fireCaretUpdate(CaretEvent e)(Code)(Java Doc) public AccessibleContext getAccessibleContext()(Code)(Java Doc) public Action[] getActions()(Code)(Java Doc) public Caret getCaret()(Code)(Java Doc) public Color getCaretColor()(Code)(Java Doc) public CaretListener[] getCaretListeners()(Code)(Java Doc) public int getCaretPosition()(Code)(Java Doc) public Color getDisabledTextColor()(Code)(Java Doc) public Document getDocument()(Code)(Java Doc) public boolean getDragEnabled()(Code)(Java Doc) final public DropLocation getDropLocation()(Code)(Java Doc) final public DropMode getDropMode()(Code)(Java Doc) public char getFocusAccelerator()(Code)(Java Doc) public Highlighter getHighlighter()(Code)(Java Doc) public InputMethodRequests getInputMethodRequests()(Code)(Java Doc) public Keymap getKeymap()(Code)(Java Doc) public static Keymap getKeymap(String nm)(Code)(Java Doc) public Insets getMargin()(Code)(Java Doc) public NavigationFilter getNavigationFilter()(Code)(Java Doc) public Dimension getPreferredScrollableViewportSize()(Code)(Java Doc) public Printable getPrintable(MessageFormat headerFormat, MessageFormat footerFormat)(Code)(Java Doc) public int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction)(Code)(Java Doc) public boolean getScrollableTracksViewportHeight()(Code)(Java Doc) public boolean getScrollableTracksViewportWidth()(Code)(Java Doc) public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction)(Code)(Java Doc) public String getSelectedText()(Code)(Java Doc) public Color getSelectedTextColor()(Code)(Java Doc) public Color getSelectionColor()(Code)(Java Doc) public int getSelectionEnd()(Code)(Java Doc) public int getSelectionStart()(Code)(Java Doc) public String getText(int offs, int len) throws BadLocationException(Code)(Java Doc) public String getText()(Code)(Java Doc) public String getToolTipText(MouseEvent event)(Code)(Java Doc) public TextUI getUI()(Code)(Java Doc) public boolean isEditable()(Code)(Java Doc) public static void loadKeymap(Keymap map, KeyBinding[] bindings, Action[] actions)(Code)(Java Doc) public Rectangle modelToView(int pos) throws BadLocationException(Code)(Java Doc) public void moveCaretPosition(int pos)(Code)(Java Doc) protected String paramString()(Code)(Java Doc) public void paste()(Code)(Java Doc) public boolean print() throws PrinterException(Code)(Java Doc) public boolean print(MessageFormat headerFormat, MessageFormat footerFormat) throws PrinterException(Code)(Java Doc) public boolean print(MessageFormat headerFormat, MessageFormat footerFormat, boolean showPrintDialog, PrintService service, PrintRequestAttributeSet attributes, boolean interactive) throws PrinterException(Code)(Java Doc) protected void processInputMethodEvent(InputMethodEvent e)(Code)(Java Doc) public void read(Reader in, Object desc) throws IOException(Code)(Java Doc) public void removeCaretListener(CaretListener listener)(Code)(Java Doc) public static Keymap removeKeymap(String nm)(Code)(Java Doc) public void removeNotify()(Code)(Java Doc) public void replaceSelection(String content)(Code)(Java Doc) public void select(int selectionStart, int selectionEnd)(Code)(Java Doc) public void selectAll()(Code)(Java Doc) public void setCaret(Caret c)(Code)(Java Doc) public void setCaretColor(Color c)(Code)(Java Doc) public void setCaretPosition(int position)(Code)(Java Doc) public void setComponentOrientation(ComponentOrientation o)(Code)(Java Doc) public void setDisabledTextColor(Color c)(Code)(Java Doc) public void setDocument(Document doc)(Code)(Java Doc) public void setDragEnabled(boolean b)(Code)(Java Doc) final public void setDropMode(DropMode dropMode)(Code)(Java Doc) public void setEditable(boolean b)(Code)(Java Doc) public void setFocusAccelerator(char aKey)(Code)(Java Doc) public void setHighlighter(Highlighter h)(Code)(Java Doc) public void setKeymap(Keymap map)(Code)(Java Doc) public void setMargin(Insets m)(Code)(Java Doc) public void setNavigationFilter(NavigationFilter filter)(Code)(Java Doc) public void setSelectedTextColor(Color c)(Code)(Java Doc) public void setSelectionColor(Color c)(Code)(Java Doc) public void setSelectionEnd(int selectionEnd)(Code)(Java Doc) public void setSelectionStart(int selectionStart)(Code)(Java Doc) public void setText(String t)(Code)(Java Doc) public void setUI(TextUI ui)(Code)(Java Doc) public void updateUI()(Code)(Java Doc) public int viewToModel(Point pt)(Code)(Java Doc) public void write(Writer out) throws IOException(Code)(Java Doc)
|
Methods inherited from javax.swing.JComponent | void _paintImmediately(int x, int y, int w, int h)(Code)(Java Doc) public void addAncestorListener(AncestorListener listener)(Code)(Java Doc) public void addNotify()(Code)(Java Doc) public synchronized void addVetoableChangeListener(VetoableChangeListener listener)(Code)(Java Doc) boolean alwaysOnTop()(Code)(Java Doc) boolean checkIfChildObscuredBySibling()(Code)(Java Doc) void clientPropertyChanged(Object key, Object oldValue, Object newValue)(Code)(Java Doc) void compWriteObjectNotify()(Code)(Java Doc) void componentInputMapChanged(ComponentInputMap inputMap)(Code)(Java Doc) final static void computeVisibleRect(Component c, Rectangle visibleRect)(Code)(Java Doc) public void computeVisibleRect(Rectangle visibleRect)(Code)(Java Doc) public boolean contains(int x, int y)(Code)(Java Doc) public JToolTip createToolTip()(Code)(Java Doc) public void disable()(Code)(Java Doc) void dndDone()(Code)(Java Doc) TransferHandler.DropLocation dropLocationForPoint(Point p)(Code)(Java Doc) public void enable()(Code)(Java Doc) public void firePropertyChange(String propertyName, boolean oldValue, boolean newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, int oldValue, int newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, char oldValue, char newValue)(Code)(Java Doc) protected void fireVetoableChange(String propertyName, Object oldValue, Object newValue) throws java.beans.PropertyVetoException(Code)(Java Doc) public AccessibleContext getAccessibleContext()(Code)(Java Doc) public ActionListener getActionForKeyStroke(KeyStroke aKeyStroke)(Code)(Java Doc) final public ActionMap getActionMap()(Code)(Java Doc) final ActionMap getActionMap(boolean create)(Code)(Java Doc) public float getAlignmentX()(Code)(Java Doc) public float getAlignmentY()(Code)(Java Doc) public AncestorListener[] getAncestorListeners()(Code)(Java Doc) public boolean getAutoscrolls()(Code)(Java Doc) public int getBaseline(int width, int height)(Code)(Java Doc) public BaselineResizeBehavior getBaselineResizeBehavior()(Code)(Java Doc) public Border getBorder()(Code)(Java Doc) public Rectangle getBounds(Rectangle rv)(Code)(Java Doc) final public Object getClientProperty(Object key)(Code)(Java Doc) protected Graphics getComponentGraphics(Graphics g)(Code)(Java Doc) public JPopupMenu getComponentPopupMenu()(Code)(Java Doc) public int getConditionForKeyStroke(KeyStroke aKeyStroke)(Code)(Java Doc) boolean getCreatedDoubleBuffer()(Code)(Java Doc) public int getDebugGraphicsOptions()(Code)(Java Doc) public static Locale getDefaultLocale()(Code)(Java Doc) public FontMetrics getFontMetrics(Font font)(Code)(Java Doc) public Graphics getGraphics()(Code)(Java Doc) static void getGraphicsInvoked(Component root)(Code)(Java Doc) public int getHeight()(Code)(Java Doc) public boolean getInheritsPopupMenu()(Code)(Java Doc) final public InputMap getInputMap(int condition)(Code)(Java Doc) final public InputMap getInputMap()(Code)(Java Doc) final InputMap getInputMap(int condition, boolean create)(Code)(Java Doc) public InputVerifier getInputVerifier()(Code)(Java Doc) public Insets getInsets()(Code)(Java Doc) public Insets getInsets(Insets insets)(Code)(Java Doc) public T[] getListeners(Class<T> listenerType)(Code)(Java Doc) public Point getLocation(Point rv)(Code)(Java Doc) static Set<KeyStroke> getManagingFocusBackwardTraversalKeys()(Code)(Java Doc) static Set<KeyStroke> getManagingFocusForwardTraversalKeys()(Code)(Java Doc) public Dimension getMaximumSize()(Code)(Java Doc) public Dimension getMinimumSize()(Code)(Java Doc) public Component getNextFocusableComponent()(Code)(Java Doc) public Point getPopupLocation(MouseEvent event)(Code)(Java Doc) public Dimension getPreferredSize()(Code)(Java Doc) public KeyStroke[] getRegisteredKeyStrokes()(Code)(Java Doc) public JRootPane getRootPane()(Code)(Java Doc) public Dimension getSize(Dimension rv)(Code)(Java Doc) public Point getToolTipLocation(MouseEvent event)(Code)(Java Doc) public String getToolTipText()(Code)(Java Doc) public String getToolTipText(MouseEvent event)(Code)(Java Doc) public Container getTopLevelAncestor()(Code)(Java Doc) public TransferHandler getTransferHandler()(Code)(Java Doc) public String getUIClassID()(Code)(Java Doc) public boolean getVerifyInputWhenFocusTarget()(Code)(Java Doc) public synchronized VetoableChangeListener[] getVetoableChangeListeners()(Code)(Java Doc) public Rectangle getVisibleRect()(Code)(Java Doc) public int getWidth()(Code)(Java Doc) static byte getWriteObjCounter(JComponent comp)(Code)(Java Doc) public int getX()(Code)(Java Doc) public int getY()(Code)(Java Doc) public void grabFocus()(Code)(Java Doc) public boolean isDoubleBuffered()(Code)(Java Doc) public static boolean isLightweightComponent(Component c)(Code)(Java Doc) public boolean isManagingFocus()(Code)(Java Doc) public boolean isOpaque()(Code)(Java Doc) public boolean isOptimizedDrawingEnabled()(Code)(Java Doc) boolean isPainting()(Code)(Java Doc) final public boolean isPaintingForPrint()(Code)(Java Doc) boolean isPaintingOrigin()(Code)(Java Doc) public boolean isPaintingTile()(Code)(Java Doc) public boolean isRequestFocusEnabled()(Code)(Java Doc) public boolean isValidateRoot()(Code)(Java Doc) public void paint(Graphics g)(Code)(Java Doc) protected void paintBorder(Graphics g)(Code)(Java Doc) protected void paintChildren(Graphics g)(Code)(Java Doc) protected void paintComponent(Graphics g)(Code)(Java Doc) void paintForceDoubleBuffered(Graphics g)(Code)(Java Doc) public void paintImmediately(int x, int y, int w, int h)(Code)(Java Doc) public void paintImmediately(Rectangle r)(Code)(Java Doc) void paintToOffscreen(Graphics g, int x, int y, int w, int h, int maxX, int maxY)(Code)(Java Doc) protected String paramString()(Code)(Java Doc) public void print(Graphics g)(Code)(Java Doc) public void printAll(Graphics g)(Code)(Java Doc) protected void printBorder(Graphics g)(Code)(Java Doc) protected void printChildren(Graphics g)(Code)(Java Doc) protected void printComponent(Graphics g)(Code)(Java Doc) protected void processComponentKeyEvent(KeyEvent e)(Code)(Java Doc) protected boolean processKeyBinding(KeyStroke ks, KeyEvent e, int condition, boolean pressed)(Code)(Java Doc) boolean processKeyBindings(KeyEvent e, boolean pressed)(Code)(Java Doc) static boolean processKeyBindingsForAllComponents(KeyEvent e, Container container, boolean pressed)(Code)(Java Doc) protected void processKeyEvent(KeyEvent e)(Code)(Java Doc) protected void processMouseEvent(MouseEvent e)(Code)(Java Doc) protected void processMouseMotionEvent(MouseEvent e)(Code)(Java Doc) final public void putClientProperty(Object key, Object value)(Code)(Java Doc) boolean rectangleIsObscured(int x, int y, int width, int height)(Code)(Java Doc) public void registerKeyboardAction(ActionListener anAction, String aCommand, KeyStroke aKeyStroke, int aCondition)(Code)(Java Doc) public void registerKeyboardAction(ActionListener anAction, KeyStroke aKeyStroke, int aCondition)(Code)(Java Doc) public void removeAncestorListener(AncestorListener listener)(Code)(Java Doc) public void removeNotify()(Code)(Java Doc) public synchronized void removeVetoableChangeListener(VetoableChangeListener listener)(Code)(Java Doc) public void repaint(long tm, int x, int y, int width, int height)(Code)(Java Doc) public void repaint(Rectangle r)(Code)(Java Doc) public boolean requestDefaultFocus()(Code)(Java Doc) public void requestFocus()(Code)(Java Doc) public boolean requestFocus(boolean temporary)(Code)(Java Doc) public boolean requestFocusInWindow()(Code)(Java Doc) protected boolean requestFocusInWindow(boolean temporary)(Code)(Java Doc) public void resetKeyboardActions()(Code)(Java Doc) public void reshape(int x, int y, int w, int h)(Code)(Java Doc) public void revalidate()(Code)(Java Doc) static Graphics safelyGetGraphics(Component c)(Code)(Java Doc) static Graphics safelyGetGraphics(Component c, Component root)(Code)(Java Doc) public void scrollRectToVisible(Rectangle aRect)(Code)(Java Doc) final public void setActionMap(ActionMap am)(Code)(Java Doc) public void setAlignmentX(float alignmentX)(Code)(Java Doc) public void setAlignmentY(float alignmentY)(Code)(Java Doc) public void setAutoscrolls(boolean autoscrolls)(Code)(Java Doc) public void setBackground(Color bg)(Code)(Java Doc) public void setBorder(Border border)(Code)(Java Doc) public void setComponentPopupMenu(JPopupMenu popup)(Code)(Java Doc) void setCreatedDoubleBuffer(boolean newValue)(Code)(Java Doc) public void setDebugGraphicsOptions(int debugOptions)(Code)(Java Doc) public static void setDefaultLocale(Locale l)(Code)(Java Doc) public void setDoubleBuffered(boolean aFlag)(Code)(Java Doc) Object setDropLocation(TransferHandler.DropLocation location, Object state, boolean forDrop)(Code)(Java Doc) public void setEnabled(boolean enabled)(Code)(Java Doc) public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)(Code)(Java Doc) public void setFont(Font font)(Code)(Java Doc) public void setForeground(Color fg)(Code)(Java Doc) public void setInheritsPopupMenu(boolean value)(Code)(Java Doc) final public void setInputMap(int condition, InputMap map)(Code)(Java Doc) public void setInputVerifier(InputVerifier inputVerifier)(Code)(Java Doc) public void setMaximumSize(Dimension maximumSize)(Code)(Java Doc) public void setMinimumSize(Dimension minimumSize)(Code)(Java Doc) public void setNextFocusableComponent(Component aComponent)(Code)(Java Doc) public void setOpaque(boolean isOpaque)(Code)(Java Doc) void setPaintingChild(Component paintingChild)(Code)(Java Doc) public void setPreferredSize(Dimension preferredSize)(Code)(Java Doc) public void setRequestFocusEnabled(boolean requestFocusEnabled)(Code)(Java Doc) public void setToolTipText(String text)(Code)(Java Doc) public void setTransferHandler(TransferHandler newHandler)(Code)(Java Doc) protected void setUI(ComponentUI newUI)(Code)(Java Doc) void setUIProperty(String propertyName, Object value)(Code)(Java Doc) public void setVerifyInputWhenFocusTarget(boolean verifyInputWhenFocusTarget)(Code)(Java Doc) public void setVisible(boolean aFlag)(Code)(Java Doc) static void setWriteObjCounter(JComponent comp, byte count)(Code)(Java Doc) int shouldDebugGraphics()(Code)(Java Doc) void superProcessMouseMotionEvent(MouseEvent e)(Code)(Java Doc) public void unregisterKeyboardAction(KeyStroke aKeyStroke)(Code)(Java Doc) public void update(Graphics g)(Code)(Java Doc) public void updateUI()(Code)(Java Doc)
|
Methods inherited from java.awt.Container | public Component add(Component comp)(Code)(Java Doc) public Component add(String name, Component comp)(Code)(Java Doc) public Component add(Component comp, int index)(Code)(Java Doc) public void add(Component comp, Object constraints)(Code)(Java Doc) public void add(Component comp, Object constraints, int index)(Code)(Java Doc) public synchronized void addContainerListener(ContainerListener l)(Code)(Java Doc) protected void addImpl(Component comp, Object constraints, int index)(Code)(Java Doc) public void addNotify()(Code)(Java Doc) public void addPropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc) public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc) public void applyComponentOrientation(ComponentOrientation o)(Code)(Java Doc) public boolean areFocusTraversalKeysSet(int id)(Code)(Java Doc) public int countComponents()(Code)(Java Doc) public void deliverEvent(Event e)(Code)(Java Doc) public void doLayout()(Code)(Java Doc) public Component findComponentAt(int x, int y)(Code)(Java Doc) public Component findComponentAt(Point p)(Code)(Java Doc) public float getAlignmentX()(Code)(Java Doc) public float getAlignmentY()(Code)(Java Doc) public Component getComponent(int n)(Code)(Java Doc) public Component getComponentAt(int x, int y)(Code)(Java Doc) public Component getComponentAt(Point p)(Code)(Java Doc) public int getComponentCount()(Code)(Java Doc) public int getComponentZOrder(Component comp)(Code)(Java Doc) public Component[] getComponents()(Code)(Java Doc) public synchronized ContainerListener[] getContainerListeners()(Code)(Java Doc) public Set<AWTKeyStroke> getFocusTraversalKeys(int id)(Code)(Java Doc) public FocusTraversalPolicy getFocusTraversalPolicy()(Code)(Java Doc) public Insets getInsets()(Code)(Java Doc) public LayoutManager getLayout()(Code)(Java Doc) public T[] getListeners(Class<T> listenerType)(Code)(Java Doc) public Dimension getMaximumSize()(Code)(Java Doc) public Dimension getMinimumSize()(Code)(Java Doc) public Point getMousePosition(boolean allowChildren) throws HeadlessException(Code)(Java Doc) public Dimension getPreferredSize()(Code)(Java Doc) public Insets insets()(Code)(Java Doc) public void invalidate()(Code)(Java Doc) public boolean isAncestorOf(Component c)(Code)(Java Doc) public boolean isFocusCycleRoot(Container container)(Code)(Java Doc) public boolean isFocusCycleRoot()(Code)(Java Doc) final public boolean isFocusTraversalPolicyProvider()(Code)(Java Doc) public boolean isFocusTraversalPolicySet()(Code)(Java Doc) public void layout()(Code)(Java Doc) public void list(PrintStream out, int indent)(Code)(Java Doc) public void list(PrintWriter out, int indent)(Code)(Java Doc) public Component locate(int x, int y)(Code)(Java Doc) public Dimension minimumSize()(Code)(Java Doc) public void paint(Graphics g)(Code)(Java Doc) public void paintComponents(Graphics g)(Code)(Java Doc) protected String paramString()(Code)(Java Doc) public Dimension preferredSize()(Code)(Java Doc) public void print(Graphics g)(Code)(Java Doc) public void printComponents(Graphics g)(Code)(Java Doc) protected void processContainerEvent(ContainerEvent e)(Code)(Java Doc) protected void processEvent(AWTEvent e)(Code)(Java Doc) public void remove(int index)(Code)(Java Doc) public void remove(Component comp)(Code)(Java Doc) public void removeAll()(Code)(Java Doc) public synchronized void removeContainerListener(ContainerListener l)(Code)(Java Doc) public void removeNotify()(Code)(Java Doc) public void setComponentZOrder(Component comp, int index)(Code)(Java Doc) public void setFocusCycleRoot(boolean focusCycleRoot)(Code)(Java Doc) public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)(Code)(Java Doc) public void setFocusTraversalPolicy(FocusTraversalPolicy policy)(Code)(Java Doc) final public void setFocusTraversalPolicyProvider(boolean provider)(Code)(Java Doc) public void setFont(Font f)(Code)(Java Doc) public void setLayout(LayoutManager mgr)(Code)(Java Doc) public void transferFocusDownCycle()(Code)(Java Doc) public void update(Graphics g)(Code)(Java Doc) public void validate()(Code)(Java Doc) protected void validateTree()(Code)(Java Doc)
|
Methods inherited from java.awt.Component | public boolean action(Event evt, Object what)(Code)(Java Doc) public void add(PopupMenu popup)(Code)(Java Doc) public synchronized void addComponentListener(ComponentListener l)(Code)(Java Doc) public synchronized void addFocusListener(FocusListener l)(Code)(Java Doc) public void addHierarchyBoundsListener(HierarchyBoundsListener l)(Code)(Java Doc) public void addHierarchyListener(HierarchyListener l)(Code)(Java Doc) public synchronized void addInputMethodListener(InputMethodListener l)(Code)(Java Doc) public synchronized void addKeyListener(KeyListener l)(Code)(Java Doc) public synchronized void addMouseListener(MouseListener l)(Code)(Java Doc) public synchronized void addMouseMotionListener(MouseMotionListener l)(Code)(Java Doc) public synchronized void addMouseWheelListener(MouseWheelListener l)(Code)(Java Doc) public void addNotify()(Code)(Java Doc) public synchronized void addPropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc) public synchronized void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc) public void applyComponentOrientation(ComponentOrientation orientation)(Code)(Java Doc) public boolean areFocusTraversalKeysSet(int id)(Code)(Java Doc) public Rectangle bounds()(Code)(Java Doc) public int checkImage(Image image, ImageObserver observer)(Code)(Java Doc) public int checkImage(Image image, int width, int height, ImageObserver observer)(Code)(Java Doc) protected AWTEvent coalesceEvents(AWTEvent existingEvent, AWTEvent newEvent)(Code)(Java Doc) public boolean contains(int x, int y)(Code)(Java Doc) public boolean contains(Point p)(Code)(Java Doc) public Image createImage(ImageProducer producer)(Code)(Java Doc) public Image createImage(int width, int height)(Code)(Java Doc) public VolatileImage createVolatileImage(int width, int height)(Code)(Java Doc) public VolatileImage createVolatileImage(int width, int height, ImageCapabilities caps) throws AWTException(Code)(Java Doc) public void deliverEvent(Event e)(Code)(Java Doc) public void disable()(Code)(Java Doc) final protected void disableEvents(long eventsToDisable)(Code)(Java Doc) final public void dispatchEvent(AWTEvent e)(Code)(Java Doc) public void doLayout()(Code)(Java Doc) public void enable()(Code)(Java Doc) public void enable(boolean b)(Code)(Java Doc) final protected void enableEvents(long eventsToEnable)(Code)(Java Doc) public void enableInputMethods(boolean enable)(Code)(Java Doc) protected void firePropertyChange(String propertyName, Object oldValue, Object newValue)(Code)(Java Doc) protected void firePropertyChange(String propertyName, boolean oldValue, boolean newValue)(Code)(Java Doc) protected void firePropertyChange(String propertyName, int oldValue, int newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, byte oldValue, byte newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, char oldValue, char newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, short oldValue, short newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, long oldValue, long newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, float oldValue, float newValue)(Code)(Java Doc) public void firePropertyChange(String propertyName, double oldValue, double newValue)(Code)(Java Doc) public AccessibleContext getAccessibleContext()(Code)(Java Doc) public float getAlignmentX()(Code)(Java Doc) public float getAlignmentY()(Code)(Java Doc) public Color getBackground()(Code)(Java Doc) public int getBaseline(int width, int height)(Code)(Java Doc) public BaselineResizeBehavior getBaselineResizeBehavior()(Code)(Java Doc) public Rectangle getBounds()(Code)(Java Doc) public Rectangle getBounds(Rectangle rv)(Code)(Java Doc) public ColorModel getColorModel()(Code)(Java Doc) public Component getComponentAt(int x, int y)(Code)(Java Doc) public Component getComponentAt(Point p)(Code)(Java Doc) public synchronized ComponentListener[] getComponentListeners()(Code)(Java Doc) public ComponentOrientation getComponentOrientation()(Code)(Java Doc) public Cursor getCursor()(Code)(Java Doc) public synchronized DropTarget getDropTarget()(Code)(Java Doc) public Container getFocusCycleRootAncestor()(Code)(Java Doc) public synchronized FocusListener[] getFocusListeners()(Code)(Java Doc) public Set<AWTKeyStroke> getFocusTraversalKeys(int id)(Code)(Java Doc) public boolean getFocusTraversalKeysEnabled()(Code)(Java Doc) public Font getFont()(Code)(Java Doc) public FontMetrics getFontMetrics(Font font)(Code)(Java Doc) public Color getForeground()(Code)(Java Doc) public Graphics getGraphics()(Code)(Java Doc) public GraphicsConfiguration getGraphicsConfiguration()(Code)(Java Doc) public int getHeight()(Code)(Java Doc) public synchronized HierarchyBoundsListener[] getHierarchyBoundsListeners()(Code)(Java Doc) public synchronized HierarchyListener[] getHierarchyListeners()(Code)(Java Doc) public boolean getIgnoreRepaint()(Code)(Java Doc) public InputContext getInputContext()(Code)(Java Doc) public synchronized InputMethodListener[] getInputMethodListeners()(Code)(Java Doc) public InputMethodRequests getInputMethodRequests()(Code)(Java Doc) public synchronized KeyListener[] getKeyListeners()(Code)(Java Doc) public T[] getListeners(Class<T> listenerType)(Code)(Java Doc) public Locale getLocale()(Code)(Java Doc) public Point getLocation()(Code)(Java Doc) public Point getLocation(Point rv)(Code)(Java Doc) public Point getLocationOnScreen()(Code)(Java Doc) public Dimension getMaximumSize()(Code)(Java Doc) public Dimension getMinimumSize()(Code)(Java Doc) public synchronized MouseListener[] getMouseListeners()(Code)(Java Doc) public synchronized MouseMotionListener[] getMouseMotionListeners()(Code)(Java Doc) public Point getMousePosition() throws HeadlessException(Code)(Java Doc) public synchronized MouseWheelListener[] getMouseWheelListeners()(Code)(Java Doc) public String getName()(Code)(Java Doc) public Container getParent()(Code)(Java Doc) public ComponentPeer getPeer()(Code)(Java Doc) public Dimension getPreferredSize()(Code)(Java Doc) public synchronized PropertyChangeListener[] getPropertyChangeListeners()(Code)(Java Doc) public synchronized PropertyChangeListener[] getPropertyChangeListeners(String propertyName)(Code)(Java Doc) public Dimension getSize()(Code)(Java Doc) public Dimension getSize(Dimension rv)(Code)(Java Doc) public Toolkit getToolkit()(Code)(Java Doc) final public Object getTreeLock()(Code)(Java Doc) public int getWidth()(Code)(Java Doc) public int getX()(Code)(Java Doc) public int getY()(Code)(Java Doc) public boolean gotFocus(Event evt, Object what)(Code)(Java Doc) public boolean handleEvent(Event evt)(Code)(Java Doc) public boolean hasFocus()(Code)(Java Doc) public void hide()(Code)(Java Doc) public boolean imageUpdate(Image img, int infoflags, int x, int y, int w, int h)(Code)(Java Doc) public boolean inside(int x, int y)(Code)(Java Doc) public void invalidate()(Code)(Java Doc) public boolean isBackgroundSet()(Code)(Java Doc) public boolean isCursorSet()(Code)(Java Doc) public boolean isDisplayable()(Code)(Java Doc) public boolean isDoubleBuffered()(Code)(Java Doc) public boolean isEnabled()(Code)(Java Doc) public boolean isFocusCycleRoot(Container container)(Code)(Java Doc) public boolean isFocusOwner()(Code)(Java Doc) public boolean isFocusTraversable()(Code)(Java Doc) public boolean isFocusable()(Code)(Java Doc) public boolean isFontSet()(Code)(Java Doc) public boolean isForegroundSet()(Code)(Java Doc) public boolean isLightweight()(Code)(Java Doc) public boolean isMaximumSizeSet()(Code)(Java Doc) public boolean isMinimumSizeSet()(Code)(Java Doc) public boolean isOpaque()(Code)(Java Doc) public boolean isPreferredSizeSet()(Code)(Java Doc) public boolean isShowing()(Code)(Java Doc) public boolean isValid()(Code)(Java Doc) public boolean isVisible()(Code)(Java Doc) public boolean keyDown(Event evt, int key)(Code)(Java Doc) public boolean keyUp(Event evt, int key)(Code)(Java Doc) public void layout()(Code)(Java Doc) public void list()(Code)(Java Doc) public void list(PrintStream out)(Code)(Java Doc) public void list(PrintStream out, int indent)(Code)(Java Doc) public void list(PrintWriter out)(Code)(Java Doc) public void list(PrintWriter out, int indent)(Code)(Java Doc) public Component locate(int x, int y)(Code)(Java Doc) public Point location()(Code)(Java Doc) public boolean lostFocus(Event evt, Object what)(Code)(Java Doc) public Dimension minimumSize()(Code)(Java Doc) public boolean mouseDown(Event evt, int x, int y)(Code)(Java Doc) public boolean mouseDrag(Event evt, int x, int y)(Code)(Java Doc) public boolean mouseEnter(Event evt, int x, int y)(Code)(Java Doc) public boolean mouseExit(Event evt, int x, int y)(Code)(Java Doc) public boolean mouseMove(Event evt, int x, int y)(Code)(Java Doc) public boolean mouseUp(Event evt, int x, int y)(Code)(Java Doc) public void move(int x, int y)(Code)(Java Doc) public void nextFocus()(Code)(Java Doc) public void paint(Graphics g)(Code)(Java Doc) public void paintAll(Graphics g)(Code)(Java Doc) protected String paramString()(Code)(Java Doc) public boolean postEvent(Event e)(Code)(Java Doc) public Dimension preferredSize()(Code)(Java Doc) public boolean prepareImage(Image image, ImageObserver observer)(Code)(Java Doc) public boolean prepareImage(Image image, int width, int height, ImageObserver observer)(Code)(Java Doc) public void print(Graphics g)(Code)(Java Doc) public void printAll(Graphics g)(Code)(Java Doc) protected void processComponentEvent(ComponentEvent e)(Code)(Java Doc) protected void processEvent(AWTEvent e)(Code)(Java Doc) protected void processFocusEvent(FocusEvent e)(Code)(Java Doc) protected void processHierarchyBoundsEvent(HierarchyEvent e)(Code)(Java Doc) protected void processHierarchyEvent(HierarchyEvent e)(Code)(Java Doc) protected void processInputMethodEvent(InputMethodEvent e)(Code)(Java Doc) protected void processKeyEvent(KeyEvent e)(Code)(Java Doc) protected void processMouseEvent(MouseEvent e)(Code)(Java Doc) protected void processMouseMotionEvent(MouseEvent e)(Code)(Java Doc) protected void processMouseWheelEvent(MouseWheelEvent e)(Code)(Java Doc) public void remove(MenuComponent popup)(Code)(Java Doc) public synchronized void removeComponentListener(ComponentListener l)(Code)(Java Doc) public synchronized void removeFocusListener(FocusListener l)(Code)(Java Doc) public void removeHierarchyBoundsListener(HierarchyBoundsListener l)(Code)(Java Doc) public void removeHierarchyListener(HierarchyListener l)(Code)(Java Doc) public synchronized void removeInputMethodListener(InputMethodListener l)(Code)(Java Doc) public synchronized void removeKeyListener(KeyListener l)(Code)(Java Doc) public synchronized void removeMouseListener(MouseListener l)(Code)(Java Doc) public synchronized void removeMouseMotionListener(MouseMotionListener l)(Code)(Java Doc) public synchronized void removeMouseWheelListener(MouseWheelListener l)(Code)(Java Doc) public void removeNotify()(Code)(Java Doc) public synchronized void removePropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc) public synchronized void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc) public void repaint()(Code)(Java Doc) public void repaint(long tm)(Code)(Java Doc) public void repaint(int x, int y, int width, int height)(Code)(Java Doc) public void repaint(long tm, int x, int y, int width, int height)(Code)(Java Doc) public void requestFocus()(Code)(Java Doc) protected boolean requestFocus(boolean temporary)(Code)(Java Doc) public boolean requestFocusInWindow()(Code)(Java Doc) protected boolean requestFocusInWindow(boolean temporary)(Code)(Java Doc) public void reshape(int x, int y, int width, int height)(Code)(Java Doc) public void resize(int width, int height)(Code)(Java Doc) public void resize(Dimension d)(Code)(Java Doc) public void setBackground(Color c)(Code)(Java Doc) public void setBounds(int x, int y, int width, int height)(Code)(Java Doc) public void setBounds(Rectangle r)(Code)(Java Doc) public void setComponentOrientation(ComponentOrientation o)(Code)(Java Doc) public void setCursor(Cursor cursor)(Code)(Java Doc) public synchronized void setDropTarget(DropTarget dt)(Code)(Java Doc) public void setEnabled(boolean b)(Code)(Java Doc) public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)(Code)(Java Doc) public void setFocusTraversalKeysEnabled(boolean focusTraversalKeysEnabled)(Code)(Java Doc) public void setFocusable(boolean focusable)(Code)(Java Doc) public void setFont(Font f)(Code)(Java Doc) public void setForeground(Color c)(Code)(Java Doc) public void setIgnoreRepaint(boolean ignoreRepaint)(Code)(Java Doc) public void setLocale(Locale l)(Code)(Java Doc) public void setLocation(int x, int y)(Code)(Java Doc) public void setLocation(Point p)(Code)(Java Doc) public void setMaximumSize(Dimension maximumSize)(Code)(Java Doc) public void setMinimumSize(Dimension minimumSize)(Code)(Java Doc) public void setName(String name)(Code)(Java Doc) public void setPreferredSize(Dimension preferredSize)(Code)(Java Doc) public void setSize(int width, int height)(Code)(Java Doc) public void setSize(Dimension d)(Code)(Java Doc) public void setVisible(boolean b)(Code)(Java Doc) public void show()(Code)(Java Doc) public void show(boolean b)(Code)(Java Doc) public Dimension size()(Code)(Java Doc) public String toString()(Code)(Java Doc) public void transferFocus()(Code)(Java Doc) public void transferFocusBackward()(Code)(Java Doc) public void transferFocusUpCycle()(Code)(Java Doc) public void update(Graphics g)(Code)(Java Doc) public void validate()(Code)(Java Doc)
|
|
|
|