|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.deegree_impl.tools.LecGUI
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 | |
(package private) LecGUIButtonHandler |
bel
|
protected static java.lang.String |
BTEXIT
|
protected static java.lang.String |
BTINFO
|
protected static java.lang.String |
BTOPENSOURCE
|
protected static java.lang.String |
BTOPENTARGET
|
protected static java.lang.String |
BTSTART
|
private javax.swing.JPanel |
buttonPanel
|
private javax.swing.JComboBox |
colorCBox
|
private javax.swing.JPanel |
debugPanel
|
private javax.swing.JTextArea |
debugTextArea
|
private static java.lang.String |
DEFAULTCOLOR
|
private static java.lang.String |
DEFAULTFORMAT
|
private static int |
DEFAULTHEIGHT
|
private static int |
DEFAULTWIDTH
|
private javax.swing.JButton |
exitbutton
|
protected static java.lang.String |
EXITMENUITEM
|
private static java.lang.String |
FILEMENU
|
private javax.swing.JPanel |
filePanel
|
private javax.swing.JComboBox |
formatCBox
|
private javax.swing.JSpinner |
heightspinner
|
private static java.lang.String |
HELPMENU
|
private javax.swing.JButton |
infobutton
|
protected static java.lang.String |
INFOMENUITEM
|
private java.lang.String |
lastDir
|
(package private) LecGUIMenuHandler |
mel
|
protected static java.lang.String |
OPENSOURCEMENUITEM
|
protected static java.lang.String |
OPENTARGETMENUITEM
|
private javax.swing.JPanel |
optionsPanel
|
private static java.lang.String[] |
POSSIBLE_OUTPUT_COLORS
|
private static java.lang.String[] |
POSSIBLE_OUTPUT_FORMAT
|
private javax.swing.JTextField |
sourcesld_tf
|
private javax.swing.JButton |
startbutton
|
protected static java.lang.String |
STARTMENUITEM
|
private javax.swing.JTextField |
targetdir_tf
|
private static java.lang.String |
TITLE
|
private javax.swing.JTextField |
titletextfield
|
private javax.swing.JSpinner |
widthspinner
|
Fields inherited from class javax.swing.JPanel |
|
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.Container |
|
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 | |
private |
LecGUI()
Creates new form LecGUI |
Method Summary | |
protected void |
addDebugInformation(java.lang.String debuginformation)
|
private void |
appendMenuItem(java.lang.String name,
javax.swing.JMenu menu)
help method to init the menu |
protected void |
doStart()
the funcionality of the program. parses the input from the gui-elements and passes them to the LegendElementCreator class. |
private java.awt.Color |
getColorFromString(java.lang.String colorstring)
reads out the color from the string and returns the corresponding color. |
private java.lang.String |
getDestDirTextfieldContent()
returns the content of the open dialog destination/target-textfield |
private java.lang.String |
getSelectedColor()
|
private java.lang.String |
getSelectedFormat()
|
private java.lang.String |
getSelectedHeight()
|
private java.lang.String |
getSelectedTitle()
|
private java.lang.String |
getSelectedWidth()
|
private java.lang.String |
getSourceTextfieldContent()
returns the content of the open dialog source-textfield |
private javax.swing.JPanel |
initButtonPanel()
inits the button-panel |
private void |
initComponents()
initializes the GUI. |
private javax.swing.JPanel |
initDebugPanel()
|
private javax.swing.JPanel |
initFilePanel()
inits the filepanel, the panel at the top to choose the files. |
private javax.swing.JMenuBar |
initMenuBar()
creates the menubar. called from the main-method, not the constructor. |
private javax.swing.JPanel |
initOptionsPanel()
inits the option-panel. |
static void |
main(java.lang.String[] args)
|
protected void |
openDirChooser()
opens the target-dir file chooser. only dirs are available for selection |
protected void |
openFileChooser()
opens the file chooser |
private void |
setDestdirTextfieldContent(java.lang.String content)
|
private void |
setSourceTextfieldContent(java.lang.String content)
|
protected void |
showInfo()
shows the Info in a JOptionPane |
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 |
private static java.lang.String TITLE
private java.lang.String lastDir
private static java.lang.String DEFAULTFORMAT
private static java.lang.String DEFAULTCOLOR
private static int DEFAULTWIDTH
private static int DEFAULTHEIGHT
private static java.lang.String[] POSSIBLE_OUTPUT_FORMAT
private static java.lang.String[] POSSIBLE_OUTPUT_COLORS
private javax.swing.JPanel filePanel
private javax.swing.JTextField sourcesld_tf
private javax.swing.JTextField targetdir_tf
protected static final java.lang.String BTOPENSOURCE
protected static final java.lang.String BTOPENTARGET
private javax.swing.JPanel optionsPanel
private javax.swing.JComboBox formatCBox
private javax.swing.JComboBox colorCBox
private javax.swing.JSpinner widthspinner
private javax.swing.JSpinner heightspinner
private javax.swing.JTextField titletextfield
private javax.swing.JPanel buttonPanel
private javax.swing.JButton startbutton
private javax.swing.JButton infobutton
private javax.swing.JButton exitbutton
protected static final java.lang.String BTSTART
protected static final java.lang.String BTINFO
protected static final java.lang.String BTEXIT
private javax.swing.JPanel debugPanel
private javax.swing.JTextArea debugTextArea
private static final java.lang.String FILEMENU
protected static final java.lang.String OPENSOURCEMENUITEM
protected static final java.lang.String OPENTARGETMENUITEM
protected static final java.lang.String STARTMENUITEM
protected static final java.lang.String EXITMENUITEM
private static final java.lang.String HELPMENU
protected static final java.lang.String INFOMENUITEM
LecGUIButtonHandler bel
LecGUIMenuHandler mel
Constructor Detail |
private LecGUI()
Method Detail |
private void initComponents()
private javax.swing.JPanel initDebugPanel()
private javax.swing.JPanel initFilePanel()
private javax.swing.JPanel initOptionsPanel()
private javax.swing.JPanel initButtonPanel()
private javax.swing.JMenuBar initMenuBar()
private void appendMenuItem(java.lang.String name, javax.swing.JMenu menu)
name
- name of the menu-itemmenu
- the menuprivate java.lang.String getSourceTextfieldContent()
private void setSourceTextfieldContent(java.lang.String content)
content
- the text in the source-textfieldgetSourceTextfieldContent()
private java.lang.String getDestDirTextfieldContent()
private void setDestdirTextfieldContent(java.lang.String content)
content
- the text in the targetdir-textfieldgetDestDirTextfieldContent()
private java.lang.String getSelectedFormat()
private java.lang.String getSelectedColor()
private java.lang.String getSelectedWidth()
private java.lang.String getSelectedHeight()
private java.lang.String getSelectedTitle()
protected void addDebugInformation(java.lang.String debuginformation)
debuginformation
- public static void main(java.lang.String[] args)
args
- protected void doStart()
private java.awt.Color getColorFromString(java.lang.String colorstring)
colorstring
- the color as string
protected void openFileChooser()
protected void openDirChooser()
protected void showInfo()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |