gate.gui.ontology
Class RestrictionAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by gate.gui.ontology.RestrictionAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class RestrictionAction
extends AbstractAction

Action to create a new ObjectProperty in the ontology

Author:
niraj
See Also:
Serialized Form

Field Summary
protected  JRadioButton allVals
           
protected  JPanel bottomPanel
           
protected  JRadioButton card
           
protected  JRadioButton hasVal
           
protected  JComboBox hasValChoice
           
protected  JPanel hasValuePanel
           
protected  JPanel mainPanel
           
protected  JRadioButton maxCard
           
protected  JPanel middlePanel
           
protected  JRadioButton minCard
           
protected  JComboBox onPropertyChoice
           
protected  Ontology ontology
           
protected  JPanel restrictionTypes
           
protected  JRadioButton someVals
           
protected  JTextField value
           
protected  JPanel valuePanel
           
 
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
 
Constructor Summary
RestrictionAction(String s, Icon icon)
           
 
Method Summary
 void actionPerformed(ActionEvent actionevent)
           
 Ontology getOntology()
           
 void setOntology(Ontology ontology1)
           
 
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
 

Field Detail

mainPanel

protected JPanel mainPanel

restrictionTypes

protected JPanel restrictionTypes

minCard

protected JRadioButton minCard

maxCard

protected JRadioButton maxCard

card

protected JRadioButton card

hasVal

protected JRadioButton hasVal

allVals

protected JRadioButton allVals

someVals

protected JRadioButton someVals

middlePanel

protected JPanel middlePanel

onPropertyChoice

protected JComboBox onPropertyChoice

bottomPanel

protected JPanel bottomPanel

valuePanel

protected JPanel valuePanel

hasValuePanel

protected JPanel hasValuePanel

value

protected JTextField value

hasValChoice

protected JComboBox hasValChoice

ontology

protected Ontology ontology
Constructor Detail

RestrictionAction

public RestrictionAction(String s,
                         Icon icon)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent actionevent)

getOntology

public Ontology getOntology()

setOntology

public void setOntology(Ontology ontology1)