com.extentech.ExtenXLS.ui.swing
Class ExtenXLSMapperFrame

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.JInternalFrame
                  extended by com.extentech.ExtenXLS.ui.swing.ExtenXLSMapperFrame
All Implemented Interfaces:
com.extentech.toolkit.ExceptionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, TableModelListener, RootPaneContainer, WindowConstants

public class ExtenXLSMapperFrame
extends JInternalFrame
implements TableModelListener, com.extentech.toolkit.ExceptionListener

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.JInternalFrame
JInternalFrame.JDesktopIcon
 
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
 
Nested classes/interfaces inherited from class java.awt.Component
Component.BaselineResizeBehavior
 
Field Summary
static int HEIGHT
           
static int LEFTPANELTOPHEIGHT
           
static int LEFTPANELWIDTH
           
static String MAPPER_DESKTOP_NAME
           
static String MAPPER_EDIT_PROPERTIES
           
static int WIDTH
           
 
Fields inherited from class javax.swing.JInternalFrame
CONTENT_PANE_PROPERTY, FRAME_ICON_PROPERTY, GLASS_PANE_PROPERTY, IS_CLOSED_PROPERTY, IS_ICON_PROPERTY, IS_MAXIMUM_PROPERTY, IS_SELECTED_PROPERTY, LAYERED_PANE_PROPERTY, MENU_BAR_PROPERTY, ROOT_PANE_PROPERTY, TITLE_PROPERTY
 
Fields inherited from class javax.swing.JComponent
TOOL_TIP_TEXT_KEY, 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 javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, PROPERTIES, SOMEBITS
 
Constructor Summary
ExtenXLSMapperFrame()
           
ExtenXLSMapperFrame(Container p)
           
 
Method Summary
 boolean bIsExteria()
           
 void exceptionThrown(Exception e)
           
 void exitApplication()
           
 ExtenDataObjectPanel getDataObjectPanel()
           
 ExtenDataObjectPanel getDOPanel()
           
 JMenu getJMenu1()
           
 JMenuBar getJMenuBar1()
           
 Container getparentContainer()
           
static String getVersion()
          Return the version of ExtenXLS
 String getWorkingDir()
           
 ExtenXLSMapPanel getXLSEditorPanel()
           
 XMLEditorPanel getXMLEditorPanel()
           
 void init()
           
 void initDataObject(ExtenBeanTreeNode b)
          KSC: init is a wrapper for setDataObject that allows setting of the UI as well
static void main(String[] args)
          The entry point for this application.
 void setDataObject(ExtenBeanTreeNode b, boolean bInitUI)
          KSC: sets data objects and intializes ui if necessary rather ugly but the UI is too tightly coupled for clean removal ...
 void setparentContainer(Container p)
           
 void setWorkingDir(String wdir)
           
 void showUI()
           
 void tableChanged(TableModelEvent e)
           
 
Methods inherited from class javax.swing.JInternalFrame
addInternalFrameListener, dispose, doDefaultCloseAction, getAccessibleContext, getContentPane, getDefaultCloseOperation, getDesktopIcon, getDesktopPane, getFocusCycleRootAncestor, getFocusOwner, getFrameIcon, getGlassPane, getInternalFrameListeners, getJMenuBar, getLastCursor, getLayer, getLayeredPane, getMenuBar, getMostRecentFocusOwner, getNormalBounds, getRootPane, getTitle, getUI, getUIClassID, getWarningString, hide, isClosable, isClosed, isFocusCycleRoot, isIcon, isIconifiable, isMaximizable, isMaximum, isResizable, isSelected, moveToBack, moveToFront, pack, remove, removeInternalFrameListener, reshape, restoreSubcomponentFocus, setClosable, setClosed, setContentPane, setCursor, setDefaultCloseOperation, setDesktopIcon, setFocusCycleRoot, setFrameIcon, setGlassPane, setIcon, setIconifiable, setJMenuBar, setLayer, setLayer, setLayeredPane, setLayout, setMaximizable, setMaximum, setMenuBar, setNormalBounds, setResizable, setSelected, setTitle, setUI, show, toBack, toFront, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, transferFocusBackward, transferFocusDownCycle, validate
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MAPPER_DESKTOP_NAME

public static final String MAPPER_DESKTOP_NAME
See Also:
Constant Field Values

MAPPER_EDIT_PROPERTIES

public static final String MAPPER_EDIT_PROPERTIES
See Also:
Constant Field Values

WIDTH

public static final int WIDTH
See Also:
Constant Field Values

HEIGHT

public static final int HEIGHT
See Also:
Constant Field Values

LEFTPANELTOPHEIGHT

public static final int LEFTPANELTOPHEIGHT
See Also:
Constant Field Values

LEFTPANELWIDTH

public static final int LEFTPANELWIDTH
See Also:
Constant Field Values
Constructor Detail

ExtenXLSMapperFrame

public ExtenXLSMapperFrame(Container p)

ExtenXLSMapperFrame

public ExtenXLSMapperFrame()
Method Detail

getXMLEditorPanel

public XMLEditorPanel getXMLEditorPanel()

getXLSEditorPanel

public ExtenXLSMapPanel getXLSEditorPanel()

getDataObjectPanel

public ExtenDataObjectPanel getDataObjectPanel()

bIsExteria

public boolean bIsExteria()

main

public static void main(String[] args)
The entry point for this application. Sets the Look and Feel to the System Look and Feel. Creates a new JFrame1 and makes it visible.


showUI

public void showUI()

exceptionThrown

public void exceptionThrown(Exception e)
Specified by:
exceptionThrown in interface com.extentech.toolkit.ExceptionListener

tableChanged

public void tableChanged(TableModelEvent e)
Specified by:
tableChanged in interface TableModelListener

getVersion

public static String getVersion()
Return the version of ExtenXLS

Returns:
String version of ExtenXLS

init

public void init()

setWorkingDir

public void setWorkingDir(String wdir)

getWorkingDir

public String getWorkingDir()

setDataObject

public void setDataObject(ExtenBeanTreeNode b,
                          boolean bInitUI)
KSC: sets data objects and intializes ui if necessary rather ugly but the UI is too tightly coupled for clean removal ... /* Initialize the mapper frame from an existing definition


initDataObject

public void initDataObject(ExtenBeanTreeNode b)
KSC: init is a wrapper for setDataObject that allows setting of the UI as well


getDOPanel

public ExtenDataObjectPanel getDOPanel()

getJMenuBar1

public JMenuBar getJMenuBar1()

getJMenu1

public JMenu getJMenu1()

exitApplication

public void exitApplication()

getparentContainer

public Container getparentContainer()
Returns:
Returns the parentContainer.

setparentContainer

public void setparentContainer(Container p)
Parameters:
parentContainer - The parentContainer to set.


Copyright © 2011 Extentech Inc. All Rights Reserved.