com.intel.gpe.client2.common.panels.wrappers
Class RadioButtonOKCancelPanelGroup<PanelType extends OKCancelPanel>

java.lang.Object
  extended by com.intel.gpe.client2.common.panels.wrappers.RadioButtonOKCancelPanelGroup<PanelType>
All Implemented Interfaces:
OKCancelPanel, IConfigurable

public class RadioButtonOKCancelPanelGroup<PanelType extends OKCancelPanel>
extends java.lang.Object
implements OKCancelPanel

This class is used to create a multiple-exclusion scope for a set of OKCancelPanels.

Version:
$Id: RadioButtonOKCancelPanelGroup.java,v 1.5 2006/12/15 15:27:36 dizhigul Exp $
Author:
Valery Shorin

Constructor Summary
RadioButtonOKCancelPanelGroup()
           
 
Method Summary
 void add(PanelType panel, java.lang.String caption, boolean selected)
          Adds the OKCancelPanel to the group.
 void addChild(IConfigurable child)
          Deprecated. 
 boolean applyValues()
           
 boolean cancelValues()
           
 java.awt.Component getComponent()
           
 INode getNode()
          Deprecated. 
 java.util.Map<javax.swing.ButtonModel,PanelType> getOKCancelPanels()
           
 PanelType getSelectedPanel()
           
 void load(IPreferences preferences)
          Load the settings
 void store(IPreferences preferences)
          Store the settings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RadioButtonOKCancelPanelGroup

public RadioButtonOKCancelPanelGroup()
Method Detail

add

public void add(PanelType panel,
                java.lang.String caption,
                boolean selected)
Adds the OKCancelPanel to the group.

Parameters:
panel - the OKCancelPanel to be added
caption - the caption panel's RadioButton
selected -

getSelectedPanel

public PanelType getSelectedPanel()
Returns:
selected panel

applyValues

public boolean applyValues()
Specified by:
applyValues in interface OKCancelPanel

cancelValues

public boolean cancelValues()
Specified by:
cancelValues in interface OKCancelPanel

getComponent

public java.awt.Component getComponent()
Specified by:
getComponent in interface OKCancelPanel

getOKCancelPanels

public java.util.Map<javax.swing.ButtonModel,PanelType> getOKCancelPanels()

load

public void load(IPreferences preferences)
Description copied from interface: IConfigurable
Load the settings

Specified by:
load in interface IConfigurable

store

public void store(IPreferences preferences)
Description copied from interface: IConfigurable
Store the settings

Specified by:
store in interface IConfigurable

getNode

@Deprecated
public INode getNode()
Deprecated. 

Description copied from interface: IConfigurable
Get the settings pointer of the components. To be removed in version 1.5.

Specified by:
getNode in interface IConfigurable
Returns:

addChild

@Deprecated
public void addChild(IConfigurable child)
Deprecated. 

Description copied from interface: IConfigurable
Add dependent component To be removed in version 1.5.

Specified by:
addChild in interface IConfigurable


Copyright © 2008. All Rights Reserved.