| javax.swing.JComponent org.netbeans.modules.visualweb.text.DesignerPaneBase
All known Subclasses: org.netbeans.modules.visualweb.designer.DesignerPane,
DesignerPaneBase | abstract public class DesignerPaneBase extends JComponent implements Scrollable,Accessible(Code) | | Base Rave page editor component. Based heavily on JTextComponent in
javax.swing.text. This is the superclass for DesignerPane which
handles most of the basic text editing (caret, selection, keyboard
handling). Conceivably the DesignerPane specific stuff could be
moved up into this class. (Earlier I was actually subclassing the
real JTextComponent in DesignerPane which is why I had this
separation).
|
Inner Class :public static class KeyBinding | |
Inner Class :static class DefaultKeymap implements Keymap | |
Inner Class :static class KeymapWrapper extends InputMap | |
Inner Class :static class KeymapActionMap extends ActionMap | |
Field Summary | |
final public static String | DEFAULT_KEYMAP The default keymap that will be shared by all JTextComponent instances unless
they have had a different keymap set. | final public static String | backwardAction Name of the Action for moving the caret logically backward one position. | final public static String | beginLineAction Name of the Action for moving the caret to the beginning of a line. | final public static String | beginWordAction Name of the Action for moving the caret to the beginning of a word. | final public static String | defaultKeyTypedAction Name of the action that is executed by default if a key typed event is received
and there is no keymap entry. | final public static String | deleteNextCharAction Name of the action to delete the character of content that
follows the current caret position. | final public static String | deletePrevCharAction Name of the action to delete the character of content that precedes the current caret
position. | final public static String | downAction Name of the Action for moving the caret logically downward one position. | final public static String | endLineAction Name of the Action for moving the caret to the end of a line. | final public static String | endWordAction Name of the Action for moving the caret to the end of a word. | final public static String | forwardAction Name of the Action for moving the caret logically forward one position. | final public static String | selectAllAction | final public static String | selectLineAction Name of the Action for selecting a line around the caret. | final public static String | selectWordAction Name of the Action for selecting a word around the caret. | final public static String | selectionBackwardAction Name of the Action for extending the selection by moving the caret logically backward one
position. | final public static String | selectionBeginLineAction Name of the Action for moving the caret to the beginning of a line, extending
the selection. | final public static String | selectionBeginWordAction Name of the Action for moving the caret to the beginning of a word, extending
the selection. | final public static String | selectionDownAction Name of the Action for moving the caret logically downward one position, extending the
selection. | final public static String | selectionEndLineAction Name of the Action for moving the caret to the end of a line, extending the
selection. | final public static String | selectionEndWordAction Name of the Action for moving the caret to the end of a word, extending the selection. | final public static String | selectionForwardAction Name of the Action for extending the selection by moving the caret logically forward one
position. | final public static String | selectionUpAction Name of the Action for moving the caret logically upward one position, extending the
selection. | final public static String | upAction Name of the Action for moving the caret logically upward one position. |
Method Summary | |
public static Keymap | addKeymap(String nm, Keymap parent) Adds a new keymap into the keymap hierarchy. | public void | caretDetachDom() | public Transferable | copySelection(boolean cut) XXX Incorrect impl of cut/copy operation. | public void | createCaret() | abstract public void | escape(long when) XXX Escaping. | public AccessibleContext | getAccessibleContext() Gets the AccessibleContext associated with this DesignerPaneBase . | public Action[] | getActions() Fetches the command list for the editor. | public Color | getCaretColor() Fetches the current color used to render the caret. | public DomPosition | getCaretDot() | public Point | getCaretMagicPosition() | public DomPosition | getCaretMark() | public DomPosition | getCaretPosition() Returns the position of the text insertion caret for the text component. | public DomRange | getCaretRange() | public DomPosition | getFirstPosition() | final public static DesignerPaneBase | getFocusedComponent() Returns the JTextComponent that most recently had focus. | public Keymap | getKeymap() Fetches the keymap currently active in this text component. | public static Keymap | getKeymap(String nm) Fetches a named keymap previously added to the document. | public DomPosition | getLastPosition() | public Dimension | getPreferredScrollableViewportSize() Returns the preferred size of the viewport for a view component. | public Dimension | getPreferredSize() Returns the preferred size for the JEditorPane . | public int | getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction) Components that display logical rows or columns should compute the scroll increment that will
completely expose one block of rows or columns, depending on the value of orientation.
The default implementation of this is to simply return the visible area. | 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. | public int | getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) Components that display logical rows or columns should compute the scroll increment that will
completely expose one new row or column, depending on the value of orientation. | public Color | getSelectedTextColor() Fetches the current color used to render the selected text. | public Color | getSelectionColor() Fetches the current color used to render the selection. | public String | getText(DomPosition offs, int len) Fetches a portion of the text represented by the component. | public DesignerPaneBaseUI | getUI() Fetches the user-interface factory for this text-oriented editor. | public String | getUIClassID() Gets the class ID for the UI. | abstract public WebForm | getWebForm() | public boolean | hasCaret() | public boolean | hasCaretSelection() | public boolean | isCaretReadOnlyRegion() | public boolean | isCaretVisible() | public static void | loadKeymap(Keymap map, KeyBinding[] bindings, Action[] actions)
Loads a keymap with a bunch of bindings. | public void | mouseClicked(MouseEvent evt) | public void | mouseDragged(MouseEvent evt) | public void | mousePressed(MouseEvent evt) | public void | mouseReleased(MouseEvent evt) | public void | moveCaretDot(DomPosition dot) | public void | paintCaret(Graphics g) | public static Keymap | removeKeymap(String nm) Removes a named keymap previously added to the document. | public boolean | removeNextChar() | public boolean | removePreviousChar() | public void | replaceSelection(String content) | public void | select(DomPosition selectionStart, DomPosition selectionEnd) Selects the text between the specified start and end positions.
This method sets the start and end positions of the selected text, enforcing the restriction
that the start position must be greater than or equal to zero. | public void | setCaret(DesignerCaret c) Sets the caret to be used. | public void | setCaretColor(Color c) Sets the current color used to render the caret. | public void | setCaretDot(DomPosition dot) | public void | setCaretMagicPosition(Point magicPosition) | public void | setCaretVisible(boolean visible) | public void | setKeymap(Keymap map) Sets the keymap to use for binding events to
actions. | public void | setSelectedTextColor(Color c) Sets the current color used to render the selected text.
Setting the color to null is the same as
Color.black . | public void | setSelectionColor(Color c) Sets the current color used to render the selection.
Setting the color to null is the same as setting
Color.white . | public void | setUI(DesignerPaneBaseUI ui) Sets the user-interface factory for this text-oriented editor. | void | updateInputMap(Keymap oldKm, Keymap newKm) Updates the InputMap s in response to a Keymap change. | public void | updateUI() Reloads the pluggable UI. |
DEFAULT_KEYMAP | final public static String DEFAULT_KEYMAP(Code) | | The default keymap that will be shared by all JTextComponent instances unless
they have had a different keymap set.
|
defaultKeyTypedAction | final public static String defaultKeyTypedAction(Code) | | Name of the action that is executed by default if a key typed event is received
and there is no keymap entry.
See Also: DesignerPaneBase.getActions |
deleteNextCharAction | final public static String deleteNextCharAction(Code) | | Name of the action to delete the character of content that
follows the current caret position.
See Also: DesignerPaneBase.getActions |
deletePrevCharAction | final public static String deletePrevCharAction(Code) | | Name of the action to delete the character of content that precedes the current caret
position.
See Also: DesignerPaneBase.getActions |
selectionBackwardAction | final public static String selectionBackwardAction(Code) | | Name of the Action for extending the selection by moving the caret logically backward one
position.
See Also: DesignerPaneBase.getActions |
selectionBeginLineAction | final public static String selectionBeginLineAction(Code) | | Name of the Action for moving the caret to the beginning of a line, extending
the selection.
See Also: DesignerPaneBase.getActions |
selectionBeginWordAction | final public static String selectionBeginWordAction(Code) | | Name of the Action for moving the caret to the beginning of a word, extending
the selection.
See Also: DesignerPaneBase.getActions |
selectionDownAction | final public static String selectionDownAction(Code) | | Name of the Action for moving the caret logically downward one position, extending the
selection.
See Also: DesignerPaneBase.getActions |
selectionEndLineAction | final public static String selectionEndLineAction(Code) | | Name of the Action for moving the caret to the end of a line, extending the
selection.
See Also: DesignerPaneBase.getActions |
selectionEndWordAction | final public static String selectionEndWordAction(Code) | | Name of the Action for moving the caret to the end of a word, extending the selection.
See Also: DesignerPaneBase.getActions |
selectionForwardAction | final public static String selectionForwardAction(Code) | | Name of the Action for extending the selection by moving the caret logically forward one
position.
See Also: DesignerPaneBase.getActions |
selectionUpAction | final public static String selectionUpAction(Code) | | Name of the Action for moving the caret logically upward one position, extending the
selection.
See Also: DesignerPaneBase.getActions |
DesignerPaneBase | public DesignerPaneBase()(Code) | | Creates a new JTextComponent . Listeners for caret events are established, and
the pluggable UI installed. The component is marked as editable. No layout manager is used,
because layout is managed by the view subsystem of text. The document model is set to
null .
|
addKeymap | public static Keymap addKeymap(String nm, Keymap parent)(Code) | | Adds a new keymap into the keymap hierarchy. Keymap bindings resolve from bottom up so an
attribute specified in a child will override an attribute specified in the parent.
Parameters: nm - the name of the keymap (must be unique within the collection of named keymaps inthe document); the name may be null if the keymap is unnamed, butthe caller is responsible for managing the reference returned as an unnamed keymapcan't be fetched by name Parameters: parent - the parent keymap; this may be null if unspecified bindings neednot be resolved in some other keymap the keymap |
caretDetachDom | public void caretDetachDom()(Code) | | |
copySelection | public Transferable copySelection(boolean cut)(Code) | | XXX Incorrect impl of cut/copy operation. Revise.
Return the text in the selection, if any (if not returns null).
If the cut parameter is true, then the selection is deleted too.
|
createCaret | public void createCaret()(Code) | | |
escape | abstract public void escape(long when)(Code) | | XXX Escaping.
TODO Revise
|
getAccessibleContext | public AccessibleContext getAccessibleContext()(Code) | | Gets the AccessibleContext associated with this DesignerPaneBase .
an AccessibleDesignerPaneBase that serves as theAccessibleContext of this DesignerPaneBase |
getActions | public Action[] getActions()(Code) | | Fetches the command list for the editor. This is the list of commands supported by the
plugged-in UI augmented by the collection of commands that the editor itself supports. These
are useful for binding to events, such as in a keymap.
the command list |
getCaretColor | public Color getCaretColor()(Code) | | Fetches the current color used to render the caret.
the color |
getCaretDot | public DomPosition getCaretDot()(Code) | | |
getCaretMagicPosition | public Point getCaretMagicPosition()(Code) | | |
getCaretMark | public DomPosition getCaretMark()(Code) | | |
getCaretPosition | public DomPosition getCaretPosition()(Code) | | Returns the position of the text insertion caret for the text component.
the position of the text insertion caret for the text component >= 0 |
getCaretRange | public DomRange getCaretRange()(Code) | | |
getFirstPosition | public DomPosition getFirstPosition()(Code) | | |
getFocusedComponent | final public static DesignerPaneBase getFocusedComponent()(Code) | | Returns the JTextComponent that most recently had focus. The returned value may currently
have focus.
|
getKeymap | public Keymap getKeymap()(Code) | | Fetches the keymap currently active in this text component.
the keymap |
getKeymap | public static Keymap getKeymap(String nm)(Code) | | Fetches a named keymap previously added to the document. This does not work with
null -named keymaps.
Parameters: nm - the name of the keymap the keymap |
getLastPosition | public DomPosition getLastPosition()(Code) | | |
getPreferredScrollableViewportSize | public Dimension getPreferredScrollableViewportSize()(Code) | | Returns the preferred size of the viewport for a view component. This is implemented to do
the default behavior of returning the preferred size of the component.
the preferredSize of a JViewport whose view is thisScrollable |
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 |
getScrollableBlockIncrement | public int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction)(Code) | | Components that display logical rows or columns should compute the scroll increment that will
completely expose one block of rows or columns, depending on the value of orientation.
The default implementation of this is to simply return the visible area. Subclasses will
likely be able to provide a much more reasonable value.
Parameters: visibleRect - the view area visible within the viewport Parameters: orientation - either SwingConstants.VERTICAL orSwingConstants.HORIZONTAL Parameters: direction - less than zero to scroll up/left, greater than zero for down/right the "block" increment for scrolling in the specified direction exception: IllegalArgumentException - for an invalid orientation See Also: JScrollBar.setBlockIncrement |
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 the Scrollable 's height to match itsown, 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 to match its own, falseotherwise |
getScrollableUnitIncrement | public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction)(Code) | | Components that display logical rows or columns should compute the scroll increment that will
completely expose one new row or column, depending on the value of orientation. Ideally,
components should handle a partially exposed row or column by returning the distance required
to completely expose the item.
The default implementation of this is to simply return 10% of the visible area. Subclasses
are likely to be able to provide a much more reasonable value.
Parameters: visibleRect - the view area visible within the viewport Parameters: orientation - either SwingConstants.VERTICAL orSwingConstants.HORIZONTAL Parameters: direction - less than zero to scroll up/left, greater than zero for down/right the "unit" increment for scrolling in the specified direction exception: IllegalArgumentException - for an invalid orientation See Also: JScrollBar.setUnitIncrement |
getSelectedTextColor | public Color getSelectedTextColor()(Code) | | Fetches the current color used to render the selected text.
the color |
getSelectionColor | public Color getSelectionColor()(Code) | | Fetches the current color used to render the selection.
the color |
getText | public String getText(DomPosition offs, int len)(Code) | | Fetches a portion of the text represented by the component. Returns an empty string if length
is 0.
Parameters: offs - the offset >= 0 Parameters: len - the length >= 0 the text exception: BadLocationException - if the offset or length are invalid |
getUI | public DesignerPaneBaseUI getUI()(Code) | | Fetches the user-interface factory for this text-oriented editor.
the factory |
hasCaret | public boolean hasCaret()(Code) | | |
hasCaretSelection | public boolean hasCaretSelection()(Code) | | |
isCaretReadOnlyRegion | public boolean isCaretReadOnlyRegion()(Code) | | |
isCaretVisible | public boolean isCaretVisible()(Code) | | |
loadKeymap | public static void loadKeymap(Keymap map, KeyBinding[] bindings, Action[] actions)(Code) | |
Loads a keymap with a bunch of bindings. This can be used to take a static table of
definitions and load them into some keymap. The following example illustrates an example of
binding some keys to the cut, copy, and paste actions associated with a JTextComponent. A
code fragment to accomplish this might look as follows:
static final JTextComponent.KeyBinding[] defaultBindings = {
new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_C, InputEvent.CTRL_MASK),
DefaultEditorKit.copyAction),
new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_V, InputEvent.CTRL_MASK),
DefaultEditorKit.pasteAction),
new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_X, InputEvent.CTRL_MASK),
DefaultEditorKit.cutAction),};
JTextComponent c = new JTextPane();
Keymap k = c.getKeymap();
JTextComponent.loadKeymap(k, defaultBindings, c.getActions());
The sets of bindings and actions may be empty but must be non- null .
Parameters: map - the keymap Parameters: bindings - the bindings Parameters: actions - the set of actions |
moveCaretDot | public void moveCaretDot(DomPosition dot)(Code) | | |
removeKeymap | public static Keymap removeKeymap(String nm)(Code) | | Removes a named keymap previously added to the document. Keymaps with null
names may not be removed in this way.
Parameters: nm - the name of the keymap to remove the keymap that was removed |
removeNextChar | public boolean removeNextChar()(Code) | | |
removePreviousChar | public boolean removePreviousChar()(Code) | | |
replaceSelection | public void replaceSelection(String content)(Code) | | |
select | public void select(DomPosition selectionStart, DomPosition selectionEnd)(Code) | | Selects the text between the specified start and end positions.
This method sets the start and end positions of the selected text, enforcing the restriction
that the start position must be greater than or equal to zero. The end position must be
greater than or equal to the start position, and less than or equal to the length of the text
component's text.
If the caller supplies values that are inconsistent or out of bounds, the method enforces
these constraints silently, and without failure. Specifically, if the start position or end
position is greater than the length of the text, it is reset to equal the text length. If the
start position is less than zero, it is reset to zero, and if the end position is less than
the start position, it is reset to the start position.
This call is provided for backward compatibility. It is routed to a call to
setCaretPosition followed by a call to moveCaretPosition . The
preferred way to manage selection is by calling those methods directly.
Parameters: selectionStart - the start position of the text Parameters: selectionEnd - the end position of the text See Also: DesignerPaneBase.setCaretPosition See Also: DesignerPaneBase.moveCaretPosition |
setCaret | public void setCaret(DesignerCaret c)(Code) | | Sets the caret to be used. By default this will be set
by the UI that gets installed. This can be changed to
a custom caret if desired. Setting the caret results in a
PropertyChange event ("caret") being fired.
Parameters: c - the caret See Also: DesignerPaneBase.getCaret |
setCaretColor | public void setCaretColor(Color c)(Code) | | Sets the current color used to render the caret.
Setting to null effectively restores the default color.
Setting the color results in a PropertyChange event ("caretColor")
being fired.
Parameters: c - the color See Also: DesignerPaneBase.getCaretColor |
setCaretDot | public void setCaretDot(DomPosition dot)(Code) | | |
setCaretMagicPosition | public void setCaretMagicPosition(Point magicPosition)(Code) | | |
setCaretVisible | public void setCaretVisible(boolean visible)(Code) | | |
setKeymap | public void setKeymap(Keymap map)(Code) | | Sets the keymap to use for binding events to
actions. Setting to null effectively disables
keyboard input.
A PropertyChange event ("keymap") is fired when a new keymap
is installed.
Parameters: map - the keymap See Also: DesignerPaneBase.getKeymap |
setSelectedTextColor | public void setSelectedTextColor(Color c)(Code) | | Sets the current color used to render the selected text.
Setting the color to null is the same as
Color.black . Setting the color results in a
PropertyChange event ("selectedTextColor") being fired.
Parameters: c - the color See Also: DesignerPaneBase.getSelectedTextColor |
setSelectionColor | public void setSelectionColor(Color c)(Code) | | Sets the current color used to render the selection.
Setting the color to null is the same as setting
Color.white . Setting the color results in a
PropertyChange event ("selectionColor").
Parameters: c - the color See Also: DesignerPaneBase.getSelectionColor |
setUI | public void setUI(DesignerPaneBaseUI ui)(Code) | | Sets the user-interface factory for this text-oriented editor.
Parameters: ui - the factory |
updateInputMap | void updateInputMap(Keymap oldKm, Keymap newKm)(Code) | | Updates the InputMap s in response to a Keymap change.
Parameters: oldKm - the old Keymap Parameters: newKm - the new Keymap |
updateUI | public void updateUI()(Code) | | Reloads the pluggable UI. The key used to fetch the new interface is
getUIClassID() . The type of the UI is DesignerPaneBaseUI .
invalidate is called after setting the UI.
|
Methods inherited from javax.swing.JComponent | public void addAncestorListener(AncestorListener listener)(Code)(Java Doc) public void addNotify()(Code)(Java Doc) public synchronized void addVetoableChangeListener(VetoableChangeListener listener)(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) 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) 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) 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) 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) 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) 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) 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) final public boolean isPaintingForPrint()(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) public void paintImmediately(int x, int y, int w, int h)(Code)(Java Doc) public void paintImmediately(Rectangle r)(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) 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) 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) 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) 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) 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) 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) public void setVerifyInputWhenFocusTarget(boolean verifyInputWhenFocusTarget)(Code)(Java Doc) public void setVisible(boolean aFlag)(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)
|
|
|