Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

oracle.ide.controls
Class RadioKeyController

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by oracle.ide.controls.ButtonKeyController
          extended by oracle.ide.controls.RadioKeyController
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class RadioKeyController
extends ButtonKeyController

RadioKeyController is a specialized version of ButtonKeyController that will check the JRadioButton in addition to set the focus.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Method Summary
static void attach(javax.swing.ButtonGroup buttonGroup)
           
protected  int getActivedButton(javax.swing.AbstractButton[] buttons)
           
protected  void setActiveButton(javax.swing.AbstractButton button)
          Activates the button
 
Methods inherited from class oracle.ide.controls.ButtonKeyController
actionPerformed, attach, attach
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getActivedButton

protected int getActivedButton(javax.swing.AbstractButton[] buttons)
Overrides:
getActivedButton in class ButtonKeyController
Returns:
the position of the active button.

attach

public static void attach(javax.swing.ButtonGroup buttonGroup)

setActiveButton

protected void setActiveButton(javax.swing.AbstractButton button)
Description copied from class: ButtonKeyController
Activates the button

Overrides:
setActiveButton in class ButtonKeyController

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

Copyright © 1997, 2011, Oracle. All rights reserved.