public static class NavigatorMenuGUI.SetupDialog extends EJDialog implements Internationalization
JDialog.AccessibleJDialogDialog.AccessibleAWTDialog, Dialog.ModalExclusionType, Dialog.ModalityTypeWindow.AccessibleAWTWindow, Window.TypeContainer.AccessibleAWTContainerComponent.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy| Modifier and Type | Field and Description |
|---|---|
static int |
ACCEPT
Code of the operation of push the accept button.
|
static String |
ACCEPT_BUTTON_TEXT
Text of the accept button.
|
protected JButton |
baccept
Accept JButton
|
protected JButton |
bcancel
Cancel JButton.
|
protected ResourceBundle |
bundle
ResourceBundle to be applied to the JDialog.
|
static int |
CANCEL
Code of the operation of push the cancel button.
|
static String |
CANCEL_BUTTON_TEXT
Text of the cancel button.
|
static String |
MENU_TITLE_TEXT_KEY
Text of the title of the JDialog.
|
protected Hashtable |
menuGroupInfo
Hashtable that contains the whole information about a MenuGroup.
|
protected ArrayList |
menulist
ArrayList that contains all the MenuGroups of the NavigationMenu.
|
int |
operation
Contains the result of the operation that was done over the JDialog.
|
actions, askQuestionEverOnClose, askQuestionOnEsc, autoPackOnOpen, changeLAF, closeQuestion, defaultValueAskQuestionOnClose, defaultValueAskQuestionOnEsc, focusSet, glassPanel, keys, keyStrokes, opaque, previousGlassPane, sizePositionPreferenceaccessibleContext, rootPane, rootPaneCheckingEnabledDEFAULT_MODALITY_TYPEBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTDEBUG_LANGUAGEDISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSEABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description |
|---|
NavigatorMenuGUI.SetupDialog(Dialog owner,
boolean modal)
Constructs a new JDialog with the specified parameters.
|
NavigatorMenuGUI.SetupDialog(Frame owner,
boolean modal)
Constructs a new JDialog with the specified parameters.
|
| Modifier and Type | Method and Description |
|---|---|
Hashtable |
getInformationJlists(JList jlistGroup,
JList jlistItem)
This method obtains the information of the Jlists with the visibility
configuration of the MenuItems and creates a hashtable containing all
this information.
|
ArrayList |
getInputData()
This method returns the necessary data to configure the JDialog.
|
ArrayList |
getMenulist()
Returns list with all
MenuGroup in component. |
Hashtable |
getOutputData()
This method returns a data structure with the visibility
configuration of the MenuItems of the MenuGroups.
|
Vector |
getTextsToTranslate()
Returns all the texts in the element suitable for being translated.
|
void |
jInit()
This method initializes the JDialog of visibility configuration.
|
void |
setComponentLocale(Locale arg0) |
void |
setInputData(ArrayList menulist)
This method establishes the input data necessary to configure the
JDialog.
|
void |
setMenulist(ArrayList menulist)
Set list with all
MenuGroup in component. |
void |
setOutputData(Hashtable data)
This method established the data structure with the visibility
configuration of the MenuItems of the MenuGroups.
|
void |
setResourceBundle(ResourceBundle bundle)
Sets the language resource bundle.
|
askCloseQuestion, dispose, getSizePositionPreference, initWindowListener, isAskOnClose, isAskOnEsc, pack, processKeyEvent, processWindowEvent, registerKeyBindings, setAction, setActionForKey, setAskOnClose, setAskOnEsc, setAutoPackOnOpen, setInitialFocus, setSizePositionPreference, setVisible, transparentaddImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, updateaddNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setBackground, setModal, setModalityType, setOpacity, setResizable, setShape, setTitle, setUndecorated, show, toBackaddPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, toFrontadd, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCyclepublic static final String MENU_TITLE_TEXT_KEY
public static final String ACCEPT_BUTTON_TEXT
public static final String CANCEL_BUTTON_TEXT
public static final int ACCEPT
public static final int CANCEL
protected ResourceBundle bundle
public int operation
protected ArrayList menulist
protected Hashtable menuGroupInfo
protected JButton bcancel
protected JButton baccept
public NavigatorMenuGUI.SetupDialog(Frame owner, boolean modal)
owner - Framemodal - Boolean to configure modal mode.public NavigatorMenuGUI.SetupDialog(Dialog owner, boolean modal)
owner - Dialogmodal - Boolean to configure modal mode.public void jInit()
public ArrayList getInputData()
ArrayList whit the input data necessary.public void setInputData(ArrayList menulist)
menulist - ArrayList whit the input data necessary.public Hashtable getOutputData()
Hashtable whit the data structure.public void setOutputData(Hashtable data)
data - Hashatble with the data structure.public Hashtable getInformationJlists(JList jlistGroup, JList jlistItem)
jlistGroup - Jlist that contains all the MenuGroups of the
NavigationMenu.jlistItem - JList that contains all MenuItems of each MenuGroup.Hashtable with all information.public ArrayList getMenulist()
MenuGroup in component.public void setMenulist(ArrayList menulist)
MenuGroup in component.menulist - List with MenuGrouppublic Vector getTextsToTranslate()
InternationalizationgetTextsToTranslate in interface Internationalizationpublic void setComponentLocale(Locale arg0)
setComponentLocale in interface Internationalizationpublic void setResourceBundle(ResourceBundle bundle)
InternationalizationsetResourceBundle in interface Internationalizationbundle - the new language bundle.Copyright © 2016 Imatia Innovation S.L.. All rights reserved.