Unnamed: 0
int64
0
305k
body
stringlengths
7
52.9k
name
stringlengths
1
185
282,300
void (@NotNull JList<?> list, @Nullable JComponent focusParent) { installMoveDownAction(list, focusParent, UISettings.getInstance().getCycleScrolling()); }
installMoveDownAction
282,301
void (@NotNull JList<?> list, @Nullable JComponent focusParent, boolean cycleScrolling) { new ListMoveDownAction(focusParent, list, cycleScrolling); }
installMoveDownAction
282,302
void (@NotNull JList<?> list, @Nullable JComponent focusParent) { installMoveUpAction(list, focusParent, UISettings.getInstance().getCycleScrolling()); }
installMoveUpAction
282,303
void (@NotNull JList<?> list, @Nullable JComponent focusParent, boolean cycleScrolling) { new ListMoveUpAction(focusParent, list, cycleScrolling); }
installMoveUpAction
282,304
void (@NotNull JComponent component) { InputMap map = component.getInputMap(JComponent.WHEN_FOCUSED); UIUtil.maybeInstall(map, SCROLL_UP_ACTION_ID, KeyStroke.getKeyStroke(KeyEvent.VK_PAGE_UP, 0)); UIUtil.maybeInstall(map, SCROLL_DOWN_ACTION_ID, KeyStroke.getKeyStroke(KeyEvent.VK_PAGE_DOWN, 0)); UIUtil.maybeInstall(map, SELECT_PREVIOUS_ROW_ACTION_ID, KeyStroke.getKeyStroke(KeyEvent.VK_UP, 0)); UIUtil.maybeInstall(map, SELECT_NEXT_ROW_ACTION_ID, KeyStroke.getKeyStroke(KeyEvent.VK_DOWN, 0)); UIUtil.maybeInstall(map, SELECT_FIRST_ROW_ACTION_ID, KeyStroke.getKeyStroke(KeyEvent.VK_HOME, 0)); UIUtil.maybeInstall(map, SELECT_LAST_ROW_ACTION_ID, KeyStroke.getKeyStroke(KeyEvent.VK_END, 0)); UIUtil.maybeInstall(map, MOVE_HOME_ID, KeyStroke.getKeyStroke(KeyEvent.VK_LEFT, 0)); UIUtil.maybeInstall(map, MOVE_END_ID, KeyStroke.getKeyStroke(KeyEvent.VK_RIGHT, 0)); }
maybeInstallDefaultShortcuts
282,305
void (@NotNull JTable table) { int size = table.getModel().getRowCount(); if (size == 0) { table.clearSelection(); return; } int selectedIndex = table.getSelectedRow(); boolean reselect = false; if (selectedIndex < 0 || selectedIndex >= size) { // fit index to [0, size-1] range selectedIndex = 0; reselect = true; } ensureIndexIsVisible(table, selectedIndex, 0); if (reselect) { table.getSelectionModel().setSelectionInterval(selectedIndex, selectedIndex); } }
ensureSelectionExists
282,306
Rectangle (@NotNull JTable table, int top, int bottom) { return table.getCellRect(top, 0, true).union(table.getCellRect(bottom,0,true)); }
getCellBounds
282,307
int (JComponent c) { if (c instanceof JList) return getVisibleRowCount((JList<?>)c); if (c instanceof JTable) return getVisibleRowCount((JTable)c); return -1; }
visibleRowCount
282,308
int (@NotNull JTable table) { Rectangle visibleRect = table.getVisibleRect(); return getTrailingRow(table, visibleRect) - getLeadingRow(table, visibleRect) + 1; }
getVisibleRowCount
282,309
Couple<Integer> (@NotNull JTable table) { Rectangle visibleRect = table.getVisibleRect(); return Couple.of(getLeadingRow(table, visibleRect), getTrailingRow(table, visibleRect)); }
getVisibleRows
282,310
int (@NotNull JTable table, @NotNull Rectangle visibleRect) { int row = table.rowAtPoint(getLeadingPoint(table, visibleRect)); if (row >= 0) return row; // return the first row in the table // if there is no any row at the given point return 0 < table.getRowCount() ? 0 : -1; }
getLeadingRow
282,311
Point (@NotNull JTable table, @NotNull Rectangle visibleRect) { if (table.getComponentOrientation().isLeftToRight()) { return new Point(visibleRect.x, visibleRect.y); } else { return new Point(visibleRect.x + visibleRect.width, visibleRect.y); } }
getLeadingPoint
282,312
int (@NotNull JTable table, int maximumHiddenPart) { Rectangle visibleRect = table.getVisibleRect(); Point leadingPoint = getLeadingPoint(table, visibleRect); int row = table.rowAtPoint(leadingPoint); int column = table.columnAtPoint(leadingPoint); if (leadingPoint.y - table.getCellRect(row, column, true).getY() <= maximumHiddenPart) { return row; } else { return Math.min(row + 1, table.getRowCount() - 1); // just in case } }
getReadableRow
282,313
boolean (@NotNull JTable table, int row) { Rectangle visibleRect = table.getVisibleRect(); int start = getLeadingRow(table, visibleRect); int end = getTrailingRow(table, visibleRect); return row >= start && row <= end; }
isVisible
282,314
int (@NotNull JTable table, @NotNull Rectangle visibleRect) { Point trailingPoint; if (table.getComponentOrientation().isLeftToRight()) { trailingPoint = new Point(visibleRect.x, visibleRect.y + visibleRect.height - 1); } else { trailingPoint = new Point(visibleRect.x + visibleRect.width, visibleRect.y + visibleRect.height - 1); } int row = table.rowAtPoint(trailingPoint); if (row >= 0) return row; // return the last row in the table // if there is no any row at the given point return table.getRowCount() - 1; }
getTrailingRow
282,315
void (@NotNull JTable table, @JdkConstants.InputEventMask int modifiers, boolean cycleScrolling) { _moveDown(table, table.getSelectionModel(), modifiers, table.getRowCount(), cycleScrolling); }
moveDown
282,316
void (@NotNull JList<?> list, @JdkConstants.InputEventMask int modifiers) { moveUp(list, modifiers, UISettings.getInstance().getCycleScrolling()); }
moveUp
282,317
void (@NotNull JList<?> list, @JdkConstants.InputEventMask int modifiers, boolean cycleScrolling) { _moveUp(list, list.getSelectionModel(), list.getModel().getSize(), modifiers, cycleScrolling); }
moveUp
282,318
void (@NotNull JTable table, @JdkConstants.InputEventMask int modifiers, boolean cycleScrolling) { _moveUp(table, table.getSelectionModel(), table.getModel().getRowCount(), modifiers, cycleScrolling); }
moveUp
282,319
void (@NotNull JComponent c, @NotNull ListSelectionModel selectionModel, @JdkConstants.InputEventMask final int modifiers, int size, boolean cycleScrolling) { _move(c, selectionModel, modifiers, size, cycleScrolling, +1); }
_moveDown
282,320
void (@NotNull JComponent c, @NotNull ListSelectionModel selectionModel, @JdkConstants.InputEventMask final int modifiers, int size, boolean cycleScrolling, int direction) { if (size == 0) return; int index = selectionModel.getLeadSelectionIndex(); int indexToSelect = index + direction; if (indexToSelect < 0 || indexToSelect >= size) { if (cycleScrolling) { indexToSelect = indexToSelect < 0 ? size - 1 : 0; } else { return; } } _ensureIndexIsVisible(c, indexToSelect, direction, size); selectOrAddSelection(selectionModel, indexToSelect, modifiers); }
_move
282,321
void (@NotNull JComponent c, @NotNull ListSelectionModel selectionModel, int size, @JdkConstants.InputEventMask int modifiers, boolean cycleScrolling) { _move(c, selectionModel, modifiers, size, cycleScrolling, -1); }
_moveUp
282,322
void (@NotNull JTable table) { table.getSelectionModel().setSelectionInterval(0,0); ensureIndexIsVisible(table, 0,0); }
moveHome
282,323
void (@NotNull JTable table) { int index = table.getModel().getRowCount() - 1; table.getSelectionModel().setSelectionInterval(index, index); ensureIndexIsVisible(table, index, 0); }
moveEnd
282,324
void (@NotNull JTable table) { int visible = getVisibleRowCount(table); if (visible <= 0) { moveHome(table); return; } int step = visible - 1; ListSelectionModel selectionModel = table.getSelectionModel(); int index = Math.max(selectionModel.getMinSelectionIndex() - step, 0); int visibleIndex = getLeadingRow(table, table.getVisibleRect()); int top = visibleIndex - step; if (top < 0) { top = 0; } int bottom = top + visible - 1; _scrollAfterPageMove(table, top, bottom, index); }
movePageUp
282,325
void (@NotNull JTable table) { int visible = getVisibleRowCount(table); if (visible <= 0) { moveEnd(table); return; } ListSelectionModel selectionModel = table.getSelectionModel(); int step = visible - 1; int firstVisibleRow = getLeadingRow(table, table.getVisibleRect()); int top = firstVisibleRow + step; int bottom = top + visible - 1; int size = table.getModel().getRowCount(); int index = Math.min(selectionModel.getMinSelectionIndex() + step, size - 1); _scrollAfterPageMove(table, top, bottom, index); }
movePageDown
282,326
void (@NotNull JTable table, int top, int bottom, int index) { int size = table.getModel().getRowCount(); if (bottom >= size) { bottom = size - 1; } Rectangle cellBounds = getCellBounds(table, top, bottom); table.scrollRectToVisible(cellBounds); table.getSelectionModel().setSelectionInterval(index, index); ensureIndexIsVisible(table, index, 0); }
_scrollAfterPageMove
282,327
void (@NotNull JTable table) { installActions(table, UISettings.getInstance().getCycleScrolling()); }
installActions
282,328
ActionUpdateThread () { return ActionUpdateThread.EDT; }
getActionUpdateThread
282,329
void (@NotNull AnActionEvent e) { e.getPresentation().setEnabled(isEnabled()); }
update
282,330
boolean () { var speedSearch = SpeedSearchSupply.getSupply(myComponent); // Check if the speed search supports its own navigation (such as go to next/previous match). // If it doesn't, we take over instead. return (speedSearch == null || !speedSearch.supportsNavigation()) && !isEmpty(myComponent); }
isEnabled
282,331
boolean (JComponent component) { if (component instanceof JTable) return ((JTable)component).getRowCount() < 1; if (component instanceof JList) return ((JList<?>)component).getModel().getSize() <1; return false; }
isEmpty
282,332
void (@NotNull JTable table, final boolean cycleScrolling) { installActions(table, cycleScrolling, null); }
installActions
282,333
void (final @NotNull JTable table, final boolean cycleScrolling, @Nullable JComponent focusParent) { ActionMap actionMap = table.getActionMap(); setupScrollingActions(table, actionMap, cycleScrolling); maybeInstallDefaultShortcuts(table); JComponent target = focusParent == null ? table : focusParent; new TableMoveHomeAction(table).registerCustomShortcutSet(new CustomShortcutSet(KeyStroke.getKeyStroke(KeyEvent.VK_LEFT, 0)), table); new TableMoveEndAction(table).registerCustomShortcutSet(new CustomShortcutSet(KeyStroke.getKeyStroke(KeyEvent.VK_RIGHT, 0)), table); if (!(focusParent instanceof JTextComponent)) { new TableMoveHomeAction(table).registerCustomShortcutSet(CommonShortcuts.getMoveHome(), target); new TableMoveEndAction(table).registerCustomShortcutSet(CommonShortcuts.getMoveEnd(), target); } new TableMoveDownAction(table, cycleScrolling, target).registerCustomShortcutSet(CommonShortcuts.getMoveDown(), target); new TableMoveUpAction(table, cycleScrolling, target).registerCustomShortcutSet(CommonShortcuts.getMoveUp(), target); new TableMovePageUpAction(table).registerCustomShortcutSet(CommonShortcuts.getMovePageUp(), target); new TableMovePageDownAction(table).registerCustomShortcutSet(CommonShortcuts.getMovePageDown(), target); }
installActions
282,334
boolean (@NotNull JComponent component) { return component instanceof JTextArea && ((JTextArea)component).getText().contains("\n"); }
isMultiline
282,335
void (ActionEvent e) { final int modifiers = e.getModifiers(); if (SCROLL_UP_ACTION_ID.equals(myId)) doPageUp(); else if (SCROLL_DOWN_ACTION_ID.equals(myId)) doPageDown(); else if (SELECT_PREVIOUS_ROW_ACTION_ID.equals(myId)) doMoveUp(modifiers); else if (SELECT_NEXT_ROW_ACTION_ID.equals(myId)) doMoveDown(modifiers); else if (SELECT_LAST_ROW_ACTION_ID.equals(myId)) doMoveEnd(); else if (SELECT_FIRST_ROW_ACTION_ID.equals(myId)) doMoveHome(); else if (MOVE_END_ID.equals(myId)) doMoveEnd(); else if (MOVE_HOME_ID.equals(myId)) doMoveHome(); }
actionPerformed
282,336
void () { if (myComponent instanceof JList) moveEnd((JList<?>)myComponent); else if (myComponent instanceof JTable) moveEnd((JTable)myComponent); else throw new IllegalArgumentException("MoveEnd is not implemented for " + myComponent.getClass()); }
doMoveEnd
282,337
void () { if (myComponent instanceof JList) moveHome((JList<?>)myComponent); else if (myComponent instanceof JTable) moveHome((JTable)myComponent); else throw new IllegalArgumentException("MoveHome is not implemented for " + myComponent.getClass()); }
doMoveHome
282,338
void (@JdkConstants.InputEventMask int modifiers) { if (myComponent instanceof JList) moveUp((JList<?>)myComponent, modifiers, isCycleScrolling()); else if (myComponent instanceof JTable) moveUp((JTable)myComponent, modifiers, isCycleScrolling()); else throw new IllegalArgumentException("MoveUp is not implemented for " + myComponent.getClass()); }
doMoveUp
282,339
void (@JdkConstants.InputEventMask int modifiers) { if (myComponent instanceof JList) moveDown((JList<?>)myComponent, modifiers, isCycleScrolling()); else if (myComponent instanceof JTable) moveDown((JTable)myComponent, modifiers, isCycleScrolling()); else throw new IllegalArgumentException("MoveDown is not implemented for " + myComponent.getClass()); }
doMoveDown
282,340
void () { if (myComponent instanceof JList) movePageUp((JList<?>)myComponent); else if (myComponent instanceof JTable) movePageUp((JTable)myComponent); else throw new IllegalArgumentException("PageUp is not implemented for " + myComponent.getClass()); }
doPageUp
282,341
void () { if (myComponent instanceof JList) movePageDown((JList<?>)myComponent); else if (myComponent instanceof JTable) movePageDown((JTable)myComponent); else throw new IllegalArgumentException("PageDown is not implemented for " + myComponent.getClass()); }
doPageDown
282,342
boolean () { return myCycleScrolling == null ? UISettings.getInstance().getCycleScrolling() : myCycleScrolling.booleanValue(); }
isCycleScrolling
282,343
void (@NotNull AnActionEvent e) { moveUp(myList, 0, myCycleScrolling); }
actionPerformed
282,344
void (@NotNull AnActionEvent e) { moveEnd(myList); }
actionPerformed
282,345
void (@NotNull AnActionEvent e) { moveHome(myList); }
actionPerformed
282,346
void (@NotNull AnActionEvent e) { movePageDown(myList); }
actionPerformed
282,347
void (@NotNull AnActionEvent e) { movePageUp(myList); }
actionPerformed
282,348
void (@NotNull AnActionEvent e) { moveDown(myList, 0, myCycleScrolling); }
actionPerformed
282,349
void (@NotNull AnActionEvent e) { moveHome(myTable); }
actionPerformed
282,350
void (@NotNull AnActionEvent e) { moveEnd(myTable); }
actionPerformed
282,351
void (@NotNull AnActionEvent e) { moveDown(myTable, e.getModifiers(), myCycleScrolling); }
actionPerformed
282,352
boolean () { return super.isEnabled() && !isMultiline(myTarget); }
isEnabled
282,353
void (@NotNull AnActionEvent e) { moveUp(myTable, e.getModifiers(), myCycleScrolling); }
actionPerformed
282,354
boolean () { return super.isEnabled() && !isMultiline(myTarget); }
isEnabled
282,355
void (@NotNull AnActionEvent e) { movePageUp(myTable); }
actionPerformed
282,356
void (@NotNull AnActionEvent e) { movePageDown(myTable); }
actionPerformed
282,357
void (@NotNull CheckedTreeNode node) { onDoubleClick(node); }
mouseDoubleClicked
282,358
void (@NotNull CheckedTreeNode node) { CheckboxTreeBase.this.onNodeStateChanged(node); }
nodeStateChanged
282,359
void (@NotNull CheckedTreeNode node) { CheckboxTreeBase.this.nodeStateWillChange(node); }
beforeNodeStateChanged
282,360
void (@NotNull CheckedTreeNode node, boolean checked) { myHelper.setNodeState(this, node, checked); }
setNodeState
282,361
void (@NotNull CheckboxTreeListener listener) { myEventDispatcher.addListener(listener); }
addCheckboxTreeListener
282,362
void (final CheckedTreeNode node) { }
onDoubleClick
282,363
int () { // to prevent node expanding/collapsing on checkbox toggling return -1; }
getToggleClickCount
282,364
void (CheckedTreeNode node) { }
onNodeStateChanged
282,365
void (CheckedTreeNode node) { }
nodeStateWillChange
282,366
void (@NotNull JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) { }
customizeCellRenderer
282,367
Component (JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) { invalidate(); if (value instanceof CheckedTreeNode node) { State state = getNodeStatus(node); myCheckbox.setVisible(true); myCheckbox.setEnabled(node.isEnabled()); myCheckbox.setSelected(state != State.NOT_SELECTED); myCheckbox.setState(state); myCheckbox.setOpaque(false); myCheckbox.setBackground(null); setBackground(null); if (UIUtil.isUnderWin10LookAndFeel()) { Object hoverValue = getClientProperty(UIUtil.CHECKBOX_ROLLOVER_PROPERTY); myCheckbox.getModel().setRollover(hoverValue == value); Object pressedValue = getClientProperty(UIUtil.CHECKBOX_PRESSED_PROPERTY); myCheckbox.getModel().setPressed(pressedValue == value); } } else { myCheckbox.setVisible(false); } myTextRenderer.getTreeCellRendererComponent(tree, value, selected, expanded, leaf, row, hasFocus); customizeRenderer(tree, value, selected, expanded, leaf, row, hasFocus); revalidate(); return this; }
getTreeCellRendererComponent
282,368
State (final CheckedTreeNode node) { State ownState = node.isChecked() ? State.SELECTED : State.NOT_SELECTED; if (myIgnoreInheritance || node.getChildCount() == 0 || !myUsePartialStatusForParentNodes) { return ownState; } State result = null; for (int i = 0; i < node.getChildCount(); i++) { TreeNode child = node.getChildAt(i); State childStatus = child instanceof CheckedTreeNode? getNodeStatus((CheckedTreeNode)child) : ownState; if (childStatus == State.DONT_CARE) return State.DONT_CARE; if (result == null) { result = childStatus; } else if (result != childStatus) { return State.DONT_CARE; } } return result == null ? ownState : result; }
getNodeStatus
282,369
AccessibleContext () { if (accessibleContext == null) { accessibleContext = new AccessibleContextDelegateWithContextMenu(super.getAccessibleContext()) { @Override protected Container getDelegateParent() { return getParent(); } @Override protected void doShowContextMenu() { ActionManager.getInstance().tryToExecute(ActionManager.getInstance().getAction("ShowPopupMenu"), null, null, null, true); } @Override public String getAccessibleName() { return AccessibleContextUtil.combineAccessibleStrings( myTextRenderer.getAccessibleContext().getAccessibleName(), UIBundle.message(myCheckbox.isSelected() ? "checkbox.tree.accessible.name.checked" : "checkbox.tree.accessible.name.not.checked")); } }; } return accessibleContext; }
getAccessibleContext
282,370
Container () { return getParent(); }
getDelegateParent
282,371
void () { ActionManager.getInstance().tryToExecute(ActionManager.getInstance().getAction("ShowPopupMenu"), null, null, null, true); }
doShowContextMenu
282,372
String () { return AccessibleContextUtil.combineAccessibleStrings( myTextRenderer.getAccessibleContext().getAccessibleName(), UIBundle.message(myCheckbox.isSelected() ? "checkbox.tree.accessible.name.checked" : "checkbox.tree.accessible.name.not.checked")); }
getAccessibleName
282,373
void (JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) { }
customizeRenderer
282,374
ColoredTreeCellRenderer () { return myTextRenderer; }
getTextRenderer
282,375
JCheckBox () { return myCheckbox; }
getCheckbox
282,376
void (MouseEvent e) { doClick(e); }
execute
282,377
void (Component c) { doRepaintComponent(c); }
repaint
282,378
void (MouseEvent e) { if (consumer != null) { consumer.accept(e); } }
pass
282,379
void (Component c) { c.repaint(); }
doRepaintComponent
282,380
void () { RelativePoint point = new RelativePoint(this, new Point(this.getWidth() / 2, this.getHeight() / 2)); doClick(point.toMouseEvent()); }
doClick
282,381
void (final MouseEvent e) { if (myListener != null && isEnabled()) { myListener.actionPerformed(new ActionEvent(e, ActionEvent.ACTION_PERFORMED, "execute", e.getModifiers())); } }
doClick
282,382
void (final TimedDeadzone.Length deadZone) { myBehavior.setMouseDeadzone(deadZone); }
setMouseDeadzone
282,383
void (IconButton source) { setIcons(source.getRegular(), source.getInactive(), source.getHovered()); }
setIcons
282,384
void (final Icon regular, Icon inactive, Icon hovered) { if (regular == null) return; if (inactive == null) inactive = regular; if (hovered == null) hovered = regular; int width = Math.max(regular.getIconWidth(), inactive.getIconWidth()); width = Math.max(width, hovered.getIconWidth()); int height = Math.max(regular.getIconHeight(), inactive.getIconHeight()); height = Math.max(height, hovered.getIconHeight()); JBDimension size = JBDimension.create(new Dimension(width, height), true); if (mySize != null && !mySize.size().equals(size)) { invalidate(); } mySize = size; Icon oldIcon = myIcon; myIcon = regular; myRegular = new CenteredIcon(regular, width, height); myHovered = new CenteredIcon(hovered, width, height); myInactive = new CenteredIcon(inactive, width, height); firePropertyChange(AbstractButton.ICON_CHANGED_PROPERTY, oldIcon, regular); }
setIcons
282,385
Dimension () { if (mySize == null || isPreferredSizeSet()) return super.getPreferredSize(); return mySize.size(); }
getPreferredSize
282,386
InplaceButton (boolean fill) { myFill = fill; return this; }
setFillBg
282,387
void (final boolean active) { if (myPainting == active) return; myPainting = active; repaint(); }
setPainting
282,388
void (final boolean active) { setEnabled(active); repaint(); }
setActive
282,389
void (final Icon icon) { setIcons(icon, icon, icon); }
setIcon
282,390
Icon () { return myIcon; }
getIcon
282,391
JComponent () { return this; }
getComponent
282,392
void (Graphics g) { super.paintComponent(g); if (!myPainting) return; if (myFill) { g.setColor(UIUtil.getBgFillColor(this)); g.fillRect(0, 0, getWidth(), getHeight()); } g.translate(myXTransform, myYTransform); if (!isEnabled()) { myInactive.paintIcon(this, g, 0, 0); } else if ((myBehavior.isHovered() && myHoveringEnabled) || hasFocus()) { paintHover(g); myHovered.paintIcon(this, g, 0, 0); } else { myRegular.paintIcon(this, g, 0, 0); } g.translate(0, 0); }
paintComponent
282,393
void (Graphics g) { }
paintHover
282,394
void (Graphics g, boolean click) { Graphics2D g2 = (Graphics2D)g.create(); try { g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); g2.setRenderingHint(RenderingHints.KEY_STROKE_CONTROL, RenderingHints.VALUE_STROKE_NORMALIZE); g2.setColor(click ? JBUI.CurrentTheme.ActionButton.pressedBackground() : JBUI.CurrentTheme.ActionButton.hoverBorder()); Rectangle rect = new Rectangle(getSize()); JBInsets.removeFrom(rect, getInsets()); int arc = JBUIScale.scale(JBUI.getInt("Button.arc", 6)); g2.fill(new RoundRectangle2D.Float(rect.x, rect.y, rect.width, rect.height, arc, arc)); } finally { g2.dispose(); } }
paintHover
282,395
void (int x, int y) { myXTransform = x; myYTransform = y; }
setTransform
282,396
void (boolean enabled) { myHoveringEnabled = enabled; }
setHoveringEnabled
282,397
boolean () { return isEnabled(); }
isActive
282,398
AccessibleContext () { if (accessibleContext == null) { accessibleContext = new AccessibleInplaceButton(); } return accessibleContext; }
getAccessibleContext
282,399
String () { String name = accessibleName; if (name == null) { name = (String)getClientProperty(AccessibleContext.ACCESSIBLE_NAME_PROPERTY); } if (name == null) { name = InplaceButton.this.getToolTipText(); } if (name == null) { name = super.getAccessibleName(); } return name; }
getAccessibleName