com.izforge.izpack.panels.userinput.gui.button
Class GUIButtonField

java.lang.Object
  extended by com.izforge.izpack.panels.userinput.field.AbstractFieldView
      extended by com.izforge.izpack.panels.userinput.gui.GUIField
          extended by com.izforge.izpack.panels.userinput.gui.button.GUIButtonField
All Implemented Interfaces:
FieldView, ActionListener, EventListener

public class GUIButtonField
extends GUIField
implements ActionListener


Constructor Summary
GUIButtonField(ButtonField field)
          Constructs a GUIField.
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 JComponent getFirstFocusableComponent()
          Return a JComponent of this field which is the primary candidate to gain focus.
 
Methods inherited from class com.izforge.izpack.panels.userinput.gui.GUIField
addComponent, addDescription, addField, addLabel, addLabel, addText, addTooltip, getComponents, getInstallData, notifyUpdateListener, replaceVariables, setUpdateListener, translateStaticText, updateField, updateField, updateView, warning
 
Methods inherited from class com.izforge.izpack.panels.userinput.field.AbstractFieldView
getField, getSummaryKey, getVariable, isDisplayed, isReadonly, setDisplayed, setReadonly, setVariable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GUIButtonField

public GUIButtonField(ButtonField field)
Constructs a GUIField.

Parameters:
field - the field
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Specified by:
actionPerformed in interface ActionListener

getFirstFocusableComponent

public JComponent getFirstFocusableComponent()
Description copied from class: GUIField
Return a JComponent of this field which is the primary candidate to gain focus.

Specified by:
getFirstFocusableComponent in class GUIField
Returns:
the primary JComponent to gain focus


Copyright © 2018. All rights reserved.