docstring
stringlengths
3
2.38k
code
stringlengths
9
99.4k
set the <unk> state of the button from the action
AbstractAction . isSelected AbstractButton . setSelected AbstractButton . getModel DefaultButtonModel . cast DefaultButtonModel . getGroup ButtonGroup . clearSelection
set the <unk> state of the button from the action
AbstractAction . isSelected AbstractButton . setSelected AbstractButton . getModel DefaultButtonModel . instance ButtonGroup . cast AbstractButton . getModel DefaultButtonModel . cast DefaultButtonModel . getGroup ButtonGroup . clearSelection
set the <unk> state of the button from the action
AbstractAction . isSelected AbstractButton . setSelected AbstractButton . isSelected AbstractButton . getModel ButtonGroup . cast DefaultButtonModel . cast DefaultButtonModel . getGroup ButtonGroup . clearSelection
set the <unk> state of the button from the action
AbstractAction . isSelected AbstractButton . setSelected AbstractButton . isSelected AbstractButton . getModel ButtonGroup . cast DefaultButtonModel . getGroup AbstractButton . getModel DefaultButtonModel . getGroup ButtonGroup . clearSelection
set the <unk> state of the button from the action
AbstractAction . isSelected AbstractButton . setSelected AbstractButton . isSelected AbstractButton . getModel DefaultButtonModel . cast DefaultButtonModel . getGroup ButtonGroup . clearSelection
set the <unk> state of the button from the action
AbstractAction . isSelected AbstractButton . setSelected AbstractButton . isSelected AbstractButton . getModel DefaultButtonModel . getGroup AbstractButton . getModel ButtonGroup . clearSelection
set the <unk> state of the button from the action
AbstractAction . isSelected AbstractButton . setSelected AbstractButton . isSelected AbstractButton . getModel DefaultButtonModel . getGroup ButtonGroup . clearSelection
set the <unk> state of the button from the action
AbstractAction . isSelected AbstractButton . setSelected AbstractButton . isSelected AbstractButton . getModel DefaultButtonModel . instance DefaultButtonModel . getGroup AbstractButton . getModel ButtonGroup . clearSelection
set the <unk> state of the button from the action
AbstractAction . isSelected AbstractButton . setSelected AbstractButton . isSelected AbstractButton . getModel DefaultButtonModel . instance DefaultButtonModel . getGroup AbstractButton . getModel DefaultButtonModel . getGroup ButtonGroup . clearSelection
set the <unk> state of the button from the action
AbstractAction . isSelected AbstractButton . setSelected DefaultButtonModel . instance AbstractButton . getModel DefaultButtonModel . cast DefaultButtonModel . getGroup ButtonGroup . clearSelection
set the <unk> state of the button from the action
AbstractAction . isSelected AbstractButton . setSelected DefaultButtonModel . instance DefaultButtonModel . cast DefaultButtonModel . getGroup ButtonGroup . clearSelection
set the <unk> state of the button from the action
AbstractAction . isSelected AbstractButton . setSelected DefaultButtonModel . instance DefaultButtonModel . getGroup AbstractButton . getModel ButtonGroup . clearSelection
set the <unk> state of the button from the action
AbstractAction . isSelected AbstractButton . setSelected DefaultButtonModel . instance DefaultButtonModel . getGroup AbstractButton . getModel DefaultButtonModel . getGroup ButtonGroup . clearSelection
call after the action button was pushed
AbstractAction . iterator Iterator . hasNext AbstractAction . <unk>
standard way to set properties for actions
AbstractAction . putValue Integer . <init> AbstractAction . putValue
add menu for deleting node
AbstractAction . putValue JPopupMenu . add AbstractAction . putValue JPopupMenu . add
handle of the selection of a module
AbstractAction . putValue JToggleButton . doClick
de activate the tool tab
AbstractAction . putValue UIDefaults . getIcon AbstractAction . putValue UIDefaults . getIcon AbstractAction . putValue AbstractAction . setEnabled
alternative version of disable all editors made to let you keep text selection and copy in locked article view
AbstractAction . setEnabled JMenu . setEnabled JButton . setEnabled
call if the user changes the selected items
AbstractAction . setEnabled JMenuItem . setVisible JSeparator . setVisible AbstractAction . setEnabled JMenuItem . setVisible AbstractAction . setEnabled JMenuItem . setVisible AbstractAction . setEnabled JMenuItem . setVisible ArrayList . isEmpty AbstractAction . setEnabled JMenuItem . setVisible AbstractAction . setEnabled JMenuItem . setVisible AbstractAction . setEnabled JMenuItem . setVisible JSeparator . setVisible Kernel . isEmpty AbstractAction . setEnabled
initialization only done at construction
AbstractAction . setId AbstractAction . <unk> AbstractAction . <unk> AbstractAction . <unk> AbstractAction . <unk> AbstractAction . <unk> AbstractAction . <unk> AbstractAction . <unk> AbstractAction . <unk> AbstractAction . <unk> AbstractAction . <unk> AbstractAction . <unk> AbstractAction . <unk> AbstractAction . <unk> AbstractAction . <unk> AbstractAction . <unk> AbstractAction . <unk>
initialization only done at construction
AbstractAction . setId AbstractAction . getClass AbstractAction . setId AbstractAction . <unk> AbstractAction . <unk> AbstractAction . <unk> AbstractAction . <unk> AbstractAction . <unk> AbstractAction . <unk> AbstractAction . <unk> AbstractAction . <unk> AbstractAction . <unk> AbstractAction . <unk> AbstractAction . <unk> AbstractAction . <unk> AbstractAction . <unk> AbstractAction . <unk> AbstractAction . <unk> AbstractAction . <unk>
create and initializes components
AbstractBorder . <init> Insets . <init> Graphics2D . cast Graphics2D . getColor Color . <init> Graphics2D . setColor Graphics2D . drawLine Graphics2D . setColor BorderFactory . createLineBorder JLabel . <init> JToolBar . <init> JToolBar . add ActionMap . get JToolBar . add ActionMap . get Box . createHorizontalStrut JToolBar . getComponentCount JToolBar . <unk>
update the border of component with an empty border changed to a colored border when it will gain focus
AbstractBorder . <init> Insets . <init> UIManager . getColor Graphics . getColor Graphics . setColor Graphics . drawLine Graphics . setColor Graphics . drawLine Graphics . setColor BorderFactory . createCompoundBorder BorderFactory . createLineBorder AbstractBorder . <init> Insets . <init> Graphics . getColor Graphics . setColor Graphics . drawLine Graphics . setColor Graphics . drawLine UIManager . getColor Graphics . setColor Color . getBlue Color . getRed Graphics . drawRoundRect Graphics . drawRect Color . <init> Color . getRed Color . <init> Color . getGreen Graphics . setColor Graphics . drawRoundRect Graphics . setColor Graphics . drawLine Graphics . setColor BorderFactory . createCompoundBorder UIManager . getColor BorderFactory . createLineBorder BorderFactory . createCompoundBorder BorderFactory . createEmptyBorder BorderFactory . createLineBorder JComponent . getParent JScrollPane . instance JComponent . cast JComponent . getParent JComponent . setBorder FocusListener . <init> JComponent . addFocusListener JComponent . setBorder
update the border of component with an empty border changed to a colored border when it will gain focus
AbstractBorder . <init> Insets . <init> UIManager . getColor Graphics . getColor Graphics . setColor Graphics . drawLine Graphics . setColor Graphics . drawLine Graphics . setColor BorderFactory . createCompoundBorder UIManager . getColor BorderFactory . createLineBorder AbstractBorder . <init> Insets . <init> Graphics . getColor Graphics . setColor Graphics . drawLine Graphics . setColor Graphics . drawLine UIManager . getColor Color . getRed Color . <init> Color . getGreen Graphics . setColor Graphics . drawRoundRect Graphics . drawRect Color . getGreen Color . <init> Color . getGreen Color . <init> Graphics . setColor Graphics . drawRoundRect UIManager . getColor Graphics . setColor Graphics . drawLine Graphics . setColor BorderFactory . createCompoundBorder UIManager . getColor BorderFactory . createLineBorder BorderFactory . createCompoundBorder BorderFactory . createEmptyBorder UIManager . getColor BorderFactory . createLineBorder JComponent . getParent JScrollPane . instance JComponent . getParent JComponent . cast JComponent . setBorder JComponent . addFocusListener JComponent . getBorder JComponent . setBorder JComponent . getBorder JComponent . setBorder
create a javax
AbstractBorder . <init> JTable . getParent JViewport . cast JTable . getWidth JViewport . getWidth JTable . getWidth JViewport . getWidth
create a javax
AbstractBorder . <init> JTable . getParent JViewport . cast JTable . getWidth JViewport . getWidth JTable . getWidth
create a javax
AbstractBorder . <init> JTable . getParent JViewport . cast JTable . getWidth JViewport . getWidth
create a javax
AbstractBorder . <init> JTable . getParent JViewport . cast JViewport . getWidth JTable . getWidth JViewport . getWidth JTable . getWidth
create a border that paints any empty space to the right of the last column <unk> the given j tables j table header
AbstractBorder . <init> JViewport . cast JTable . getWidth JViewport . getWidth JTable . getWidth JViewport . getWidth JTable . getWidth
create a border that paints any empty space to the right of the last column <unk> the given j tables j table header
AbstractBorder . <init> JViewport . cast JTable . getWidth JViewport . getWidth JTable . getWidth
reinitialize the insets parameter with this borders current insets
AbstractBorder . cast AbstractBorder . getBorderInsets Border . getBorderInsets Component . getFontMetrics FontMetrics . getDescent FontMetrics . getAscent FontMetrics . getHeight Math . max
reinitialize the insets parameter with this borders current insets
AbstractBorder . cast AbstractBorder . getBorderInsets Border . getBorderInsets JLabel . getHeight
reinitialize the insets parameter with this borders current insets
AbstractBorder . getBorderInsets AbstractBorder . cast Border . getBorderInsets JLabel . getHeight
reinitialize the insets parameter with this borders current insets
AbstractBorder . getBorderInsets AbstractBorder . cast Border . getBorderInsets String . length Component . getFontMetrics FontMetrics . getDescent FontMetrics . getAscent FontMetrics . getHeight Math . max
reinitialize the insets parameter with this borders current insets
AbstractBorder . instance AbstractBorder . cast AbstractBorder . getBorderInsets Border . getBorderInsets Component . getHeight
reinitialize the insets parameter with this borders current insets
AbstractBorder . instance AbstractBorder . cast AbstractBorder . getBorderInsets Border . getBorderInsets String . equals Component . getFontMetrics FontMetrics . getDescent FontMetrics . getAscent FontMetrics . getHeight Math . max
paint the background of the button to indicate that it is in the pressed state
AbstractButton . <unk> <unk> . <unk> Graphics . setColor Graphics . fillRect Component . getHeight
paint the background of the button to indicate that it is in the pressed state
AbstractButton . <unk> <unk> . <unk> Graphics . setColor JComponent . getWidth Graphics . fillRect
set the properties on this button to match those in the specified action code
AbstractButton . <unk> AbstractButton . <unk> AbstractAction . setToolTipTextFromAction AbstractButton . <unk> AbstractButton . setActionCommandFromAction AbstractAction . setEnabledFromAction AbstractButton . <unk> AbstractButton . <unk> AbstractButton . <unk>
move one button to the ball
AbstractButton . <unk> AbstractButton . <unk> AbstractButton . <unk> AbstractButton . <unk> AbstractButton . <unk> AbstractButton . <unk> AbstractButton . <unk> AbstractButton . <unk> AbstractButton . <unk> AbstractButton . <unk> AbstractButton . <unk> AbstractButton . <unk> AbstractButton . <unk> AbstractButton . <unk> AbstractButton . <unk> AbstractButton . <unk> AbstractButton . <unk> AbstractButton . <unk> AbstractButton . <unk> AbstractButton . <unk> AbstractButton . <unk> AbstractButton . <unk> AbstractButton . <unk> AbstractButton . <unk>
determine if the button has any action listener codes registered
AbstractButton . <unk> AbstractButton . <unk> EventListenerList . <unk>
notify all listeners that have registered for this event type
AbstractButton . <unk> AbstractButton . <unk> EventListenerList . getListeners ActionListener . cast ActionListener . actionPerformed
set replace all action listeners wich were added by @ see <unk>
AbstractButton . <unk> AbstractButton . <unk> EventListenerList . getListeners EventListenerList . removeListener ActionListener . cast AbstractButton . addActionListener
remove an action listener code from being notified of user actions , i
AbstractButton . <unk> AbstractButton . <unk> EventListenerList . removeListener AbstractButton . firePropertyChange
remove an action listener from being notified of user actions , i
AbstractButton . <unk> AbstractButton . <unk> EventListenerList . removeListener AbstractButton . firePropertyChange
set the buttons selected property
AbstractButton . <unk> AbstractButton . <unk>
set the horizontal position of the text relative to the icon
AbstractButton . <unk> AbstractButton . firePropertyChange AbstractButton . repaint
set the vertical position of the text relative to the icon
AbstractButton . <unk> AbstractButton . firePropertyChange AbstractButton . repaint
set the hide action text code property , which determines whether the button displays text from the action code
AbstractButton . <unk> AbstractButton . firePropertyChange
this method sets the selection state of a button visually without invoking its item listeners and action listeners
AbstractButton . <unk> AbstractButton . getActionListeners AbstractButton . removeItemListener AbstractButton . removeActionListener AbstractButton . setSelected AbstractButton . addItemListener AbstractButton . addActionListener
this is overridden to return false if the current icons image is not equal to the passed in image img
AbstractButton . <unk> AbstractButton . getDisabledIcon ButtonModel . isArmed ButtonModel . isPressed AbstractButton . getPressedIcon AbstractButton . <unk> ButtonModel . isRollover AbstractButton . <unk> AbstractButton . <unk> ButtonModel . isSelected AbstractButton . getSelectedIcon AbstractButton . getIcon SwingUtilities . <unk>
update the icon with the peer
AbstractButton . <unk> AbstractButton . getIcon AbstractButton . <unk>
paint the background of given component <unk> is pressed
AbstractButton . <unk> AbstractButton . getModel AbstractButton . isSelected Graphics . setColor AbstractButton . getHeight AbstractButton . getWidth Graphics . fillRect
paint the focus rectangle around the button text and or icon
AbstractButton . <unk> AbstractButton . hasFocus AbstractButton . isEnabled Graphics . getColor Graphics . setColor Rectangle . union Graphics . drawRect Graphics . setColor
paint the background of given component <unk> is pressed
AbstractButton . <unk> AbstractButton . isSelected Graphics . setColor AbstractButton . getHeight Graphics . fillRect
check whether the mouse is located on top of the button
AbstractButton . <unk> Boolean . booleanValue SwingUtilities . sync Boolean . cast Button . getDisplay Component . getBounds RectangularShape . contains Boolean . valueOf
this method is called by the button listeners when a mouse button or a key is released
AbstractButton . <unk> Component . <unk> ButtonModel . setPressed ButtonModel . setArmed
add an action listener to this component
AbstractButton . <unk> Component . add
paint the focus rectangle around the button text and or icon
AbstractButton . <unk> Component . isEnabled Graphics . getColor Graphics . setColor Rectangle . union Graphics . drawRect Graphics . setColor
paint the button background when it is pressed selected
AbstractButton . <unk> Component . isOpaque Graphics . getColor SwingUtilities . <unk> Graphics . setColor Graphics . fillRect Graphics . setColor
set the margin around this button
AbstractButton . <unk> Container . revalidate
overridden to calculate non <unk> preferred size
AbstractButton . <unk> Dimension . <init> Math . max AbstractButton . getIcon Icon . getIconHeight Icon . getIconWidth AbstractButton . <unk> AbstractButton . isEmpty Math . max AbstractButton . <unk> AbstractButton . <unk>
get a new dimension object that represents the margin around this button
AbstractButton . <unk> Dimension . <init>
determine if the button has any action listeners registered
AbstractButton . <unk> EventListenerList . <unk> AbstractButton . <unk>
determine if the button has any action listeners registered
AbstractButton . <unk> EventListenerList . <unk>
add an action listener code to receive notification of user actions , i
AbstractButton . <unk> EventListenerList . addListener AbstractButton . firePropertyChange
set replace all action listeners wich were added by @ see <unk>
AbstractButton . <unk> EventListenerList . getListeners EventListenerList . removeListener ActionListener . cast AbstractButton . addActionListener
paint the button background when it is pressed selected
AbstractButton . <unk> Graphics . getColor SwingUtilities . <unk> Graphics . setColor Graphics . fillRect Graphics . setColor
paint the background of the button to indicate that it is in the pressed state
AbstractButton . <unk> Graphics . setColor JComponent . getHeight JComponent . getWidth Graphics . fillRect
paint the background of the button to indicate that it is in the pressed state
AbstractButton . <unk> Graphics . setColor JComponent . getWidth Graphics . fillRect
return true when the ball is on the bottom left corner of map else false
AbstractButton . <unk> Map . <unk>
return true when the ball is on the bottom right corner of map else false
AbstractButton . <unk> Map . <unk>
paint the background area of an abstract button in the <unk>
AbstractButton . <unk> Rectangle . <init> SwingUtilities . <unk> BasicButtonUI . getPropertyPrefix Graphics . setColor Graphics . fillRect
move ball to the center of the map
AbstractButton . <unk> Rectangle . getHeight AbstractButton . <unk>
check the selected flag of this button
AbstractButton . <unk> Runnable . <init> SwingUtilities . <unk> Button . getSelection
set the horizontal alignment of icon and text in the button
AbstractButton . <unk> SwingUtilities . <unk> Button . setAlignment
actually sets the icon that should be displayed by the peer
AbstractButton . <unk> SwingUtilities . <unk> Button . setImage
simulate a mouse clicking this button and waiting press time <unk> between pressing and releasing the mouse button
AbstractButton . <unk> Thread . sleep AbstractButton . changeState AbstractButton . <unk>
adds the specified component to this container at the specified index , refer to <unk> <unk> component , object , int <unk> for a complete description of this method .
AbstractButton . <unk>
updates the button <unk> state in response to property changes in the associated action .
AbstractButton . <unk>
create a component that will invoke an action event to fit a row
AbstractButton . addActionListener AbstractButton . setActionCommand AbstractButton . setHorizontalAlignment AbstractButton . setText AbstractButton . getText
this method builds the specified button according to the specified parameters
AbstractButton . addActionListener AbstractButton . setActionCommand AbstractButton . setIcon AbstractButton . setSelected AbstractButton . setText AbstractButton . setToolTipText ButtonGroup . add
build the ok and cancel button panel
AbstractButton . addActionListener ActionListener . <init> AbstractButton . addActionListener FlowLayout . <init> JPanel . <init> BorderFactory . createEmptyBorder JComponent . setBorder JRootPane . setDefaultButton Container . add
initialize an abstract button with the label from the properties the button gets attached as property change listener to the action
AbstractButton . addActionListener Map < AbstractButton , Action > . put List . add AbstractButton . setEnabled
adds an <unk> to the button .
AbstractButton . addActionListener
adds a <unk> to the button .
AbstractButton . addChangeListener
adds an <unk> to the checkbox .
AbstractButton . addItemListener
add control semantics to this control
AbstractButton . addMouseListener AbstractButton . cast MouseListener . cast
if the property button
AbstractButton . cast AbstractButton . <unk> AbstractButton . isEnabled AbstractButton . getModel <unk> . <unk> ButtonModel . isArmed ButtonModel . isPressed <unk> . <unk> JComponent . getWidth MetalUtils . <unk> <unk> . paint <unk> . <unk> ButtonModel . isRollover JComponent . getWidth MetalUtils . <unk> <unk> . paint
set the border of the given component to a rollover border
AbstractButton . cast AbstractButton . <unk> AbstractButton . setRolloverEnabled AbstractButton . <unk> AbstractButton . setContentAreaFilled AbstractButton . setFocusPainted AbstractButton . setMargin
if necessary paints the background of the component , then invokes paint
AbstractButton . cast AbstractButton . <unk> Component . isEnabled AbstractButton . getModel ButtonModel . isPressed ButtonModel . isArmed MetalUtils . drawGradient Component . getWidth Component . getHeight <unk> . paint ButtonModel . isSelected MetalUtils . drawGradient Component . getHeight Component . getWidth <unk> . paint
if necessary paints the background of the component , then invokes paint
AbstractButton . cast AbstractButton . <unk> Component . isEnabled AbstractButton . getModel ButtonModel . isPressed MetalUtils . drawGradient Component . getWidth Component . getHeight <unk> . paint ButtonModel . isRollover MetalUtils . drawGradient Component . getWidth <unk> . paint
if necessary paints the background of the component , then invokes paint
AbstractButton . cast AbstractButton . <unk> Component . isEnabled AbstractButton . getModel MetalUtils . <unk> ButtonModel . isArmed MetalUtils . drawGradient Component . getWidth Component . getHeight <unk> . paint Component . getWidth Component . getHeight <unk> . paint
if necessary paints the background of the component , then invokes paint
AbstractButton . cast AbstractButton . <unk> Component . isEnabled AbstractButton . getModel MetalUtils . <unk> MetalUtils . drawGradient Component . getWidth Component . getHeight <unk> . paint Component . getWidth Component . getHeight <unk> . paint
if necessary paints the background of the component , then invokes paint
AbstractButton . cast AbstractButton . <unk> JComponent . isEnabled AbstractButton . getModel ButtonModel . isArmed MetalUtils . drawGradient JComponent . getWidth JComponent . getHeight <unk> . paint MetalUtils . drawGradient JComponent . getWidth JComponent . getHeight <unk> . paint
if necessary paints the background of the component , then invokes paint code
AbstractButton . cast AbstractButton . <unk> JComponent . isEnabled AbstractButton . getModel ButtonModel . isPressed ButtonModel . isArmed MetalUtils . drawGradient JComponent . getWidth JComponent . getHeight <unk> . paint ButtonModel . isSelected MetalUtils . drawGradient JComponent . getWidth <unk> . paint
if necessary paints the background of the component , then invokes paint
AbstractButton . cast AbstractButton . <unk> JComponent . isEnabled AbstractButton . getModel ButtonModel . isPressed ButtonModel . isArmed MetalUtils . drawGradient JComponent . getWidth JComponent . getHeight <unk> . paint MetalUtils . drawGradient ButtonModel . isRollover JComponent . getWidth JComponent . getHeight <unk> . paint
if necessary paints the background of the component , then invokes paint
AbstractButton . cast AbstractButton . <unk> JComponent . isEnabled AbstractButton . getModel ButtonModel . isPressed MetalUtils . drawGradient JComponent . getWidth JComponent . getHeight <unk> . paint ButtonModel . isRollover ButtonModel . isSelected MetalUtils . drawGradient JComponent . getWidth <unk> . paint
if necessary paints the background of the component , then invokes paint
AbstractButton . cast AbstractButton . <unk> JComponent . isEnabled AbstractButton . getModel ButtonModel . isPressed MetalUtils . drawGradient JComponent . getWidth JComponent . getHeight <unk> . paint ButtonModel . isSelected ButtonModel . isRollover MetalUtils . drawGradient JComponent . getHeight JComponent . getWidth <unk> . paint