public class PanelGroupDialog
extends org.gvsig.gui.beans.defaultbuttonspanel.DefaultButtonsPanel
implements org.gvsig.gui.beans.buttonspanel.ButtonsPanelListener, org.gvsig.andami.ui.mdiManager.IWindow, org.gvsig.andami.ui.mdiManager.IWindowListener, org.gvsig.gui.beans.panelGroup.IPanelGroup, org.gvsig.gui.beans.buttonspanel.IButtonsPanel, java.io.Serializable
Graphical component that is represented as an IWindow, and that has two immediate internal
panels, the top is a PanelGroup, and the bottom is a PanelGroupDialog
of PanelGroupDialog.BUTTONS_ACCEPTCANCELAPPLY type.
DefaultButtonsPanel,
Serialized Formjavax.swing.JPanel.AccessibleJPaneljavax.swing.JComponent.AccessibleJComponent| Modifier and Type | Field and Description |
|---|---|
protected static int |
defaultHeight
Default height.
|
protected static int |
defaultWidth
Default width.
|
protected org.gvsig.gui.beans.panelGroup.IPanelGroup |
panelGroup
This graphical component has a panel that allows work
IPanel. |
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW| Constructor and Description |
|---|
PanelGroupDialog(java.lang.String windowTitle,
org.gvsig.gui.beans.panelGroup.IPanelGroup panelGroup)
Default constructor with two parameters, that creates a panel with an
AbstractPanelGroup
on top and another with accept, apply, and cancel buttons on bottom. |
PanelGroupDialog(java.lang.String additionalInfo,
java.lang.String windowTitle,
int width,
int height,
byte windowInfoProperties,
org.gvsig.gui.beans.panelGroup.IPanelGroup panelGroup)
Default constructor with six parameters, that creates a panel with an
AbstractPanelGroup
on top and another with accept, apply, and cancel buttons on bottom. |
| Modifier and Type | Method and Description |
|---|---|
void |
accept() |
void |
actionButtonPressed(org.gvsig.gui.beans.buttonspanel.ButtonsPanelEvent e) |
void |
addPanel(org.gvsig.gui.beans.panelGroup.panels.IPanel panel) |
void |
apply() |
void |
cancel() |
void |
close()
Closes this
IWindow. |
org.gvsig.gui.beans.panelGroup.panels.IPanel |
getActivePanel() |
int |
getPanelCount() |
int |
getPanelInGUICount() |
java.util.Hashtable |
getProperties() |
java.lang.Object |
getReference() |
org.gvsig.andami.ui.mdiManager.WindowInfo |
getWindowInfo() |
java.lang.Object |
getWindowProfile() |
boolean |
isAccepted() |
boolean |
isEnabledAcceptButton() |
boolean |
isEnabledApplyButton() |
boolean |
isEnabledCancelButton() |
boolean |
isEnabledCloseButton() |
boolean |
isEnabledExitButton() |
boolean |
isEnabledHideDetailsButton() |
boolean |
isEnabledNoButton() |
boolean |
isEnabledPauseButton() |
boolean |
isEnabledRestartButton() |
boolean |
isEnabledSaveButton() |
boolean |
isEnabledSeeDetailsButton() |
boolean |
isEnabledYesButton() |
boolean |
isPanelInGUI(org.gvsig.gui.beans.panelGroup.panels.IPanel panel) |
boolean |
isResizable()
Determinates if this panel is resizable or not.
|
void |
loadPanels(org.gvsig.gui.beans.panelGroup.loaders.IPanelGroupLoader loader) |
void |
removePanel(org.gvsig.gui.beans.panelGroup.panels.IPanel panel) |
void |
setEnabledAcceptButton(boolean b) |
void |
setEnabledApplyButton(boolean b) |
void |
setEnabledCancelButton(boolean b) |
void |
setEnabledCloseButton(boolean b) |
void |
setEnabledExitButton(boolean b) |
void |
setEnabledHideDetailsButton(boolean b) |
void |
setEnabledNoButton(boolean b) |
void |
setEnabledPauseButton(boolean b) |
void |
setEnabledRestartButton(boolean b) |
void |
setEnabledSaveButton(boolean b) |
void |
setEnabledSeeDetailsButton(boolean b) |
void |
setEnabledYesButton(boolean b) |
void |
setPanelInGUI(org.gvsig.gui.beans.panelGroup.panels.IPanel panel,
boolean b) |
void |
setParentPanelGroup(org.gvsig.gui.beans.panelGroup.IPanelGroup parent) |
void |
setPreferredSize(java.awt.Dimension preferredSize) |
void |
updateReference(java.lang.Object reference) |
void |
windowActivated() |
void |
windowClosed() |
add, add, add, add, add, addButtonPressedListener, getButtonsPanel, getContent, getLayout, getWindow, removeButtonPressedListener, setLayoutgetAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIaddAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateaddContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, transferFocusDownCycle, validate, validateTreeaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, 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, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleprotected static int defaultHeight
Default height.
protected static int defaultWidth
Default width.
protected org.gvsig.gui.beans.panelGroup.IPanelGroup panelGroup
This graphical component has a panel that allows work IPanel.
#getPanelGroup()public PanelGroupDialog(java.lang.String windowTitle,
org.gvsig.gui.beans.panelGroup.IPanelGroup panelGroup)
Default constructor with two parameters, that creates a panel with an AbstractPanelGroup
on top and another with accept, apply, and cancel buttons on bottom.
windowTitle - title for this IWindowPanelGroup - kind of panel for work with this IWindowpublic PanelGroupDialog(java.lang.String additionalInfo,
java.lang.String windowTitle,
int width,
int height,
byte windowInfoProperties,
org.gvsig.gui.beans.panelGroup.IPanelGroup panelGroup)
Default constructor with six parameters, that creates a panel with an AbstractPanelGroup
on top and another with accept, apply, and cancel buttons on bottom.
Last parameter is the PanelGroup graphical component that
this panel will have, and the previous are information to initialize this IWindow.
additionalInfo - additional information about this IWindowwindowTitle - title for this IWindowwidth - width for this componentheight - height for this componentwindowInfoProperties - properties about the managing of this dialog by AndamiPanelGroup - kind of panel for work with this IWindowpublic void accept()
accept in interface org.gvsig.gui.beans.panelGroup.IPanelGrouppublic void actionButtonPressed(org.gvsig.gui.beans.buttonspanel.ButtonsPanelEvent e)
actionButtonPressed in interface org.gvsig.gui.beans.buttonspanel.ButtonsPanelListenerpublic void addPanel(org.gvsig.gui.beans.panelGroup.panels.IPanel panel)
throws org.gvsig.tools.exception.BaseException
addPanel in interface org.gvsig.gui.beans.panelGroup.IPanelGrouporg.gvsig.tools.exception.BaseExceptionpublic void apply()
apply in interface org.gvsig.gui.beans.panelGroup.IPanelGrouppublic void cancel()
cancel in interface org.gvsig.gui.beans.panelGroup.IPanelGrouppublic void close()
Closes this IWindow.
public org.gvsig.gui.beans.panelGroup.panels.IPanel getActivePanel()
getActivePanel in interface org.gvsig.gui.beans.panelGroup.IPanelGrouppublic int getPanelCount()
getPanelCount in interface org.gvsig.gui.beans.panelGroup.IPanelGrouppublic int getPanelInGUICount()
getPanelInGUICount in interface org.gvsig.gui.beans.panelGroup.IPanelGrouppublic java.util.Hashtable getProperties()
getProperties in interface org.gvsig.gui.beans.panelGroup.IPanelGrouppublic java.lang.Object getReference()
getReference in interface org.gvsig.gui.beans.panelGroup.IPanelGrouppublic org.gvsig.andami.ui.mdiManager.WindowInfo getWindowInfo()
getWindowInfo in interface org.gvsig.andami.ui.mdiManager.IWindowpublic java.lang.Object getWindowProfile()
getWindowProfile in interface org.gvsig.andami.ui.mdiManager.IWindowpublic boolean isAccepted()
isAccepted in interface org.gvsig.gui.beans.panelGroup.IPanelGrouppublic boolean isEnabledAcceptButton()
isEnabledAcceptButton in interface org.gvsig.gui.beans.buttonspanel.IButtonsPanelpublic boolean isEnabledApplyButton()
isEnabledApplyButton in interface org.gvsig.gui.beans.buttonspanel.IButtonsPanelpublic boolean isEnabledCancelButton()
isEnabledCancelButton in interface org.gvsig.gui.beans.buttonspanel.IButtonsPanelpublic boolean isEnabledCloseButton()
isEnabledCloseButton in interface org.gvsig.gui.beans.buttonspanel.IButtonsPanelpublic boolean isEnabledExitButton()
isEnabledExitButton in interface org.gvsig.gui.beans.buttonspanel.IButtonsPanelpublic boolean isEnabledHideDetailsButton()
isEnabledHideDetailsButton in interface org.gvsig.gui.beans.buttonspanel.IButtonsPanelpublic boolean isEnabledNoButton()
isEnabledNoButton in interface org.gvsig.gui.beans.buttonspanel.IButtonsPanelpublic boolean isEnabledPauseButton()
isEnabledPauseButton in interface org.gvsig.gui.beans.buttonspanel.IButtonsPanelpublic boolean isEnabledRestartButton()
isEnabledRestartButton in interface org.gvsig.gui.beans.buttonspanel.IButtonsPanelpublic boolean isEnabledSaveButton()
isEnabledSaveButton in interface org.gvsig.gui.beans.buttonspanel.IButtonsPanelpublic boolean isEnabledSeeDetailsButton()
isEnabledSeeDetailsButton in interface org.gvsig.gui.beans.buttonspanel.IButtonsPanelpublic boolean isEnabledYesButton()
isEnabledYesButton in interface org.gvsig.gui.beans.buttonspanel.IButtonsPanelpublic boolean isPanelInGUI(org.gvsig.gui.beans.panelGroup.panels.IPanel panel)
isPanelInGUI in interface org.gvsig.gui.beans.panelGroup.IPanelGrouppublic boolean isResizable()
Determinates if this panel is resizable or not.
true if it's resizable; false otherwise.public void loadPanels(org.gvsig.gui.beans.panelGroup.loaders.IPanelGroupLoader loader)
throws org.gvsig.gui.beans.panelGroup.exceptions.ListCouldntAddPanelException,
org.gvsig.gui.beans.panelGroup.exceptions.EmptyPanelGroupException,
org.gvsig.gui.beans.panelGroup.exceptions.EmptyPanelGroupGUIException
loadPanels in interface org.gvsig.gui.beans.panelGroup.IPanelGrouporg.gvsig.gui.beans.panelGroup.exceptions.ListCouldntAddPanelExceptionorg.gvsig.gui.beans.panelGroup.exceptions.EmptyPanelGroupExceptionorg.gvsig.gui.beans.panelGroup.exceptions.EmptyPanelGroupGUIExceptionpublic void removePanel(org.gvsig.gui.beans.panelGroup.panels.IPanel panel)
removePanel in interface org.gvsig.gui.beans.panelGroup.IPanelGrouppublic void setEnabledAcceptButton(boolean b)
setEnabledAcceptButton in interface org.gvsig.gui.beans.buttonspanel.IButtonsPanelpublic void setEnabledApplyButton(boolean b)
setEnabledApplyButton in interface org.gvsig.gui.beans.buttonspanel.IButtonsPanelpublic void setEnabledCancelButton(boolean b)
setEnabledCancelButton in interface org.gvsig.gui.beans.buttonspanel.IButtonsPanelpublic void setEnabledCloseButton(boolean b)
setEnabledCloseButton in interface org.gvsig.gui.beans.buttonspanel.IButtonsPanelpublic void setEnabledExitButton(boolean b)
setEnabledExitButton in interface org.gvsig.gui.beans.buttonspanel.IButtonsPanelpublic void setEnabledHideDetailsButton(boolean b)
setEnabledHideDetailsButton in interface org.gvsig.gui.beans.buttonspanel.IButtonsPanelpublic void setEnabledNoButton(boolean b)
setEnabledNoButton in interface org.gvsig.gui.beans.buttonspanel.IButtonsPanelpublic void setEnabledPauseButton(boolean b)
setEnabledPauseButton in interface org.gvsig.gui.beans.buttonspanel.IButtonsPanelpublic void setEnabledRestartButton(boolean b)
setEnabledRestartButton in interface org.gvsig.gui.beans.buttonspanel.IButtonsPanelpublic void setEnabledSaveButton(boolean b)
setEnabledSaveButton in interface org.gvsig.gui.beans.buttonspanel.IButtonsPanelpublic void setEnabledSeeDetailsButton(boolean b)
setEnabledSeeDetailsButton in interface org.gvsig.gui.beans.buttonspanel.IButtonsPanelpublic void setEnabledYesButton(boolean b)
setEnabledYesButton in interface org.gvsig.gui.beans.buttonspanel.IButtonsPanelpublic void setPanelInGUI(org.gvsig.gui.beans.panelGroup.panels.IPanel panel,
boolean b)
setPanelInGUI in interface org.gvsig.gui.beans.panelGroup.IPanelGrouppublic void setParentPanelGroup(org.gvsig.gui.beans.panelGroup.IPanelGroup parent)
setParentPanelGroup in interface org.gvsig.gui.beans.panelGroup.IPanelGrouppublic void setPreferredSize(java.awt.Dimension preferredSize)
setPreferredSize in class javax.swing.JComponentpublic void updateReference(java.lang.Object reference)
updateReference in interface org.gvsig.gui.beans.panelGroup.IPanelGrouppublic void windowActivated()
windowActivated in interface org.gvsig.andami.ui.mdiManager.IWindowListenerpublic void windowClosed()
windowClosed in interface org.gvsig.andami.ui.mdiManager.IWindowListenerCopyright © 2026 gvSIG Association. All rights reserved.