edu.ucsb.nceas.morpho.plugins.datapackagewizard.pages
Class Taxonomic

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjavax.swing.JComponent
              extended byjavax.swing.JPanel
                  extended byedu.ucsb.nceas.morpho.framework.AbstractUIPage
                      extended byedu.ucsb.nceas.morpho.plugins.datapackagewizard.pages.Taxonomic
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable

public class Taxonomic
extends AbstractUIPage

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.JPanel
javax.swing.JPanel.AccessibleJPanel
 
Nested classes inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Nested classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
 java.lang.String pageID
           
 java.lang.String pageNumber
           
 java.lang.String subtitle
           
 java.lang.String title
           
 
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
Taxonomic()
           
 
Method Summary
 java.lang.String getNextPageID()
          Returns the ID of the page that the user will see next, after the "Next" button is pressed.
 OrderedMap getPageData()
          gets the Map object that contains all the key/value paired settings for this particular wizard page
 OrderedMap getPageData(java.lang.String rootXPath)
          gets the Map object that contains all the key/value paired settings for this particular wizard page
 java.lang.String getPageID()
          gets the unique ID for this wizard page
 java.lang.String getPageNumber()
          Returns the serial number of the page
 java.lang.String getSubtitle()
          gets the subtitle for this wizard page
 java.lang.String getTitle()
          gets the title for this wizard page
 boolean onAdvanceAction()
          The action to be executed when the "Next" button (pages 1 to last-but-one) or "Finish" button(last page) is pressed.
 void onLoadAction()
          The action to be executed when the page is displayed.
 void onRewindAction()
          The action to be executed when the "Prev" button is pressed.
 boolean setPageData(OrderedMap data, java.lang.String _xPathRoot)
          sets the fields in the waird page using the Map object that contains all the key/value paired
 boolean verifyCommonName(Taxonomic parent, javax.swing.JTextField jc)
           
 boolean verifyTaxonName(Taxonomic parent, javax.swing.JTextField jc, int pos)
           
 boolean verifyTaxonRank(Taxonomic parent, java.lang.String newText, int pos)
           
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

pageID

public final java.lang.String pageID
See Also:
Constant Field Values

pageNumber

public final java.lang.String pageNumber
See Also:
Constant Field Values

title

public final java.lang.String title
See Also:
Constant Field Values

subtitle

public final java.lang.String subtitle
See Also:
Constant Field Values
Constructor Detail

Taxonomic

public Taxonomic()
Method Detail

onLoadAction

public void onLoadAction()
The action to be executed when the page is displayed. May be empty

Specified by:
onLoadAction in class AbstractUIPage

onRewindAction

public void onRewindAction()
The action to be executed when the "Prev" button is pressed. May be empty

Specified by:
onRewindAction in class AbstractUIPage

onAdvanceAction

public boolean onAdvanceAction()
The action to be executed when the "Next" button (pages 1 to last-but-one) or "Finish" button(last page) is pressed. May be empty, but if so, must return true

Specified by:
onAdvanceAction in class AbstractUIPage
Returns:
boolean true if wizard should advance, false if not (e.g. if a required field hasn't been filled in)

getPageData

public OrderedMap getPageData()
gets the Map object that contains all the key/value paired settings for this particular wizard page

Specified by:
getPageData in class AbstractUIPage
Returns:
data the Map object that contains all the key/value paired settings for this particular wizard page

getPageData

public OrderedMap getPageData(java.lang.String rootXPath)
gets the Map object that contains all the key/value paired settings for this particular wizard page

Specified by:
getPageData in class AbstractUIPage
Parameters:
rootXPath - the root xpath to prepend to all the xpaths returned by this method
Returns:
data the Map object that contains all the key/value paired settings for this particular wizard page

getPageID

public java.lang.String getPageID()
gets the unique ID for this wizard page

Specified by:
getPageID in class AbstractUIPage
Returns:
the unique ID String for this wizard page

getTitle

public java.lang.String getTitle()
gets the title for this wizard page

Specified by:
getTitle in class AbstractUIPage
Returns:
the String title for this wizard page

getSubtitle

public java.lang.String getSubtitle()
gets the subtitle for this wizard page

Specified by:
getSubtitle in class AbstractUIPage
Returns:
the String subtitle for this wizard page

getNextPageID

public java.lang.String getNextPageID()
Returns the ID of the page that the user will see next, after the "Next" button is pressed. If this is the last page, return value must be null

Specified by:
getNextPageID in class AbstractUIPage
Returns:
the String ID of the page that the user will see next, or null if this is te last page

getPageNumber

public java.lang.String getPageNumber()
Returns the serial number of the page

Specified by:
getPageNumber in class AbstractUIPage
Returns:
the serial number of the page

setPageData

public boolean setPageData(OrderedMap data,
                           java.lang.String _xPathRoot)
sets the fields in the waird page using the Map object that contains all the key/value paired

Specified by:
setPageData in class AbstractUIPage
Parameters:
data - the Map object that contains all the key/value paired settings for this particular wizard page
_xPathRoot - String
Returns:
boolean

verifyTaxonRank

public boolean verifyTaxonRank(Taxonomic parent,
                               java.lang.String newText,
                               int pos)

verifyCommonName

public boolean verifyCommonName(Taxonomic parent,
                                javax.swing.JTextField jc)

verifyTaxonName

public boolean verifyTaxonName(Taxonomic parent,
                               javax.swing.JTextField jc,
                               int pos)


Copyright © 2000 National Center for Ecological Analysis and Synthesis. All Rights Reserved.