public void
addPropertyChangeListener
(String propertyName, PropertyChangeListener listener)
[Inherited From Container]
publicsynchronized void
addVetoableChangeListener
(VetoableChangeListener listener)
[Inherited From JComponent]
public int
checkImage
(Image image, int width, int height, ImageObserver observer)
[Inherited From Component]
pack-private void
clientPropertyChanged
(Object key, Object oldValue, Object newValue)
[Inherited From JComponent]
pack-privatefinalstatic void
computeVisibleRect
(Component c, Rectangle visibleRect)
[Inherited From JComponent]
public String
convertValueToText
(Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus)
public VolatileImage
createVolatileImage
(int width, int height, ImageCapabilities caps)
throws
AWTException
[Inherited From Component]
public void
firePropertyChange
(String propertyName, boolean oldValue, boolean newValue)
[Inherited From JComponent]
public void
firePropertyChange
(String propertyName, char oldValue, char newValue)
[Inherited From JComponent]
public void
firePropertyChange
(String propertyName, int oldValue, int newValue)
[Inherited From JComponent]
protected void
fireVetoableChange
(String propertyName, Object oldValue, Object newValue)
throws
PropertyVetoException
[Inherited From JComponent]
protected Enumeration<TreePath>
getDescendantToggledPaths
(TreePath parent)
Enumeration of TreePaths
that have been expanded that
are descendants of parent.
publicsynchronized DropTarget
getDropTarget
()
[Inherited From Component]
DropTarget associated with this
Component.
publicsynchronized HierarchyBoundsListener
getHierarchyBoundsListeners
()
[Inherited From Component]
pack-privatestatic Set<KeyStroke>
getManagingFocusBackwardTraversalKeys
()
[Inherited From JComponent]
KeyStrokes to use if the component
is managing focus for backward focus traversal.
pack-privatestatic Set<KeyStroke>
getManagingFocusForwardTraversalKeys
()
[Inherited From JComponent]
KeyStrokes to use if the component
is managing focus for forward focus traversal.
public Point
getMousePosition
(boolean allowChildren)
throws
HeadlessException
[Inherited From Container]
publicsynchronized PropertyChangeListener
getPropertyChangeListeners
(String propertyName)
[Inherited From Component]
public int
getScrollableBlockIncrement
(Rectangle visibleRect, int orientation, int direction)
[Specified in Scrollable]
public int
getScrollableUnitIncrement
(Rectangle visibleRect, int orientation, int direction)
[Specified in Scrollable]
pack-private boolean
isPainting
()
[Inherited From JComponent]
pack-private void
paintToOffscreen
(Graphics g, int x, int y, int w, int h, int maxX, int maxY)
[Inherited From JComponent]
public boolean
prepareImage
(Image image, int width, int height, ImageObserver observer)
[Inherited From Component]
protected boolean
processKeyBinding
(KeyStroke ks, KeyEvent e, int condition, boolean pressed)
[Inherited From JComponent]
pack-privatestatic boolean
processKeyBindingsForAllComponents
(KeyEvent e, Container container, boolean pressed)
[Inherited From JComponent]
protected void
processKeyEvent
(KeyEvent e)
[Inherited From JComponent]
processKeyEvent to process events.
protected void
processMouseEvent
(MouseEvent e)
[Inherited From JComponent]
Processes mouse events occurring on this component by
dispatching them to any registered
MouseListener objects, refer to
Component.processMouseEvent(MouseEvent)
for a complete description of this method.
pack-private boolean
rectangleIsObscured
(int x, int y, int width, int height)
[Inherited From JComponent]
public void
registerKeyboardAction
(ActionListener anAction, KeyStroke aKeyStroke, int aCondition)
[Inherited From JComponent]
getActionMap() and getInputMap() for
similiar behavior.
public void
registerKeyboardAction
(ActionListener anAction, String aCommand, KeyStroke aKeyStroke, int aCondition)
[Inherited From JComponent]
pack-private void
removeDescendantSelectedPaths
(TreeModelEvent e)
e.
protected void
removeDescendantToggledPaths
(Enumeration<TreePath> toRemove)
TreePaths in
toRemove
that have been expanded.
publicsynchronized void
removeInputMethodListener
(InputMethodListener l)
[Inherited From Component]
publicsynchronized void
removeMouseMotionListener
(MouseMotionListener l)
[Inherited From Component]
publicsynchronized void
removePropertyChangeListener
(PropertyChangeListener listener)
[Inherited From Component]
publicsynchronized void
removePropertyChangeListener
(String propertyName, PropertyChangeListener listener)
[Inherited From Component]
publicsynchronized void
removeVetoableChangeListener
(VetoableChangeListener listener)
[Inherited From JComponent]
pack-privatestatic Graphics
safelyGetGraphics
(Component c, Component root)
[Inherited From JComponent]
pack-private Object
setDropLocation
(DropLocation location, Object state, boolean forDrop)
[Overrides JComponent]
public void
setFocusTraversalKeys
(int id, Set<AWTKeyStroke> keystrokes)
[Inherited From JComponent]
public void
setFocusTraversalKeysEnabled
(boolean focusTraversalKeysEnabled)
[Inherited From Component]
public void
public void
setVerifyInputWhenFocusTarget
(boolean verifyInputWhenFocusTarget)
[Inherited From JComponent]
pack-privatestatic void
setWriteObjCounter
(JComponent comp, byte count)
[Inherited From JComponent]
pack-private int
shouldDebugGraphics
()
[Inherited From JComponent]
JComponent or one of its parents.
protected
AccessibleContext accessibleContext
[Inherited From JComponent]
AccessibleContext associated with this
JComponent.
publicfinalstatic
String CELL_RENDERER_PROPERTY
= "cellRenderer"
cellRenderer.
pack-privatestatic
boolean DEBUG_GRAPHICS_LOADED
[Inherited From JComponent]
publicfinalstatic
String INVOKES_STOP_CELL_EDITING_PROPERTY
= "invokesStopCellEditing"
messagesStopCellEditing.
protected
EventListenerList listenerList
[Inherited From JComponent]
protected
boolean rootVisible
publicfinalstatic
String SCROLLS_ON_EXPAND_PROPERTY
= "scrollsOnExpand"
scrollsOnExpand.
protected
boolean scrollsOnExpand
publicfinalstatic
String SELECTION_MODEL_PROPERTY
= "selectionModel"
protectedtransient
TreeSelectionRedirector selectionRedirector
selectionListeners.
publicfinalstatic
String SHOWS_ROOT_HANDLES_PROPERTY
= "showsRootHandles"
showsRootHandles.
publicfinalstatic
String TOGGLE_CLICK_COUNT_PROPERTY
= "toggleClickCount"
toggleClickCount.
publicfinalstatic
String TOOL_TIP_TEXT_KEY
= "ToolTipText"
[Inherited From JComponent]
protectedtransient
ComponentUI ui
[Inherited From JComponent]
publicfinalstatic
int UNDEFINED_CONDITION
= "-1"
[Inherited From JComponent]
publicfinalstatic
String VISIBLE_ROW_COUNT_PROPERTY
= "visibleRowCount"
visibleRowCount.
publicfinalstatic
int WHEN_ANCESTOR_OF_FOCUSED_COMPONENT
= "1"
[Inherited From JComponent]
registerKeyboardAction that
means that the command should be invoked when the receiving
component is an ancestor of the focused component or is
itself the focused component.
publicfinalstatic
int WHEN_FOCUSED
= "0"
[Inherited From JComponent]
registerKeyboardAction that
means that the command should be invoked when
the component has the focus.
publicfinalstatic
int WHEN_IN_FOCUSED_WINDOW
= "2"
[Inherited From JComponent]
registerKeyboardAction that
means that the command should be invoked when
the receiving component is in the window that has the focus
or is itself the focused component.
TransferHandler.DropLocation representing
a drop location for a JTree.
EmptySelectionModel is a TreeSelectionModel
that does not allow anything to be selected.
TreeSelectionEvent with the
JTree as the
source and passing it off to all the listeners.
expandedState
accordingly when nodes are removed, or changed.
DynamicUtilTreeNode can wrap
vectors/hashtables/arrays/strings and
create the appropriate children tree nodes as necessary.
ActionStandin is used as a standin for
ActionListeners that are
added via registerKeyboardAction.