public class StyleDialog extends JDialog implements ListSelectionListener
JDialog.AccessibleJDialogDialog.AccessibleAWTDialog, Dialog.ModalExclusionType, Dialog.ModalityTypeWindow.AccessibleAWTWindow, Window.TypeContainer.AccessibleAWTContainerComponent.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategyaccessibleContext, rootPane, rootPaneCheckingEnabledDEFAULT_MODALITY_TYPEBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTDISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSEABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description |
|---|
StyleDialog(Frame parent,
boolean modal)
Constructor for new StyleDialog-objects.
|
| Modifier and Type | Method and Description |
|---|---|
void |
configureDialog(LayerProperties layerProperties,
Map<String,FeatureServiceAttribute> featureServiceAttributes,
Object query)
DOCUMENT ME!
|
void |
configureDialog(Reader sldDefinition,
AbstractFeatureService featureService)
DOCUMENT ME!
|
void |
configureDialog(Reader sldDefinition,
String layerName,
LayerProperties layerProperties,
Map<String,FeatureServiceAttribute> featureServiceAttributes,
Object query)
Configures the dialog based on the delivered AbstractfeatureService.
|
Map<String,FeatureServiceAttribute> |
getFeatureServiceAttributes()
Get the value of featureServiceAttributes.
|
LayerProperties |
getLayerProperties()
Get the value of layerProperties.
|
String |
getQueryString()
Returns the querystring of the queryEditorpane.
|
Vector<String> |
getSelectedAttributes()
Returns a Vector with all selected attributes (including the geometry-attribute).
|
String |
getSelectedGeoAttribute()
Returns the selected geometry-attribute.
|
String |
getSLDStyle()
Returns a modified CloneableFeature.
|
String |
getSLDStyle(boolean simpleStyle)
DOCUMENT ME!
|
boolean |
isAccepted()
Get the value of accepted.
|
boolean |
isAttributeSelectionChanged()
DOCUMENT ME!
|
boolean |
isGeoAttributeChanged()
DOCUMENT ME!
|
boolean |
isQueryStringChanged()
Returns whether the query string was changed in the queryEditorpane.
|
static void |
main(String[] args)
DOCUMENT ME!
|
void |
setFeatureServiceAttributes(Map<String,FeatureServiceAttribute> featureServiceAttributes)
Set the value of featureServiceAttributes.
|
protected void |
setLayerProperties(LayerProperties layerProperties)
Set the value of layerProperties.
|
void |
setVisible(boolean visible)
Overrides the setVisible()-method from JDialog.
|
void |
valueChanged(ListSelectionEvent evt)
Changes the style of the StyleDialog if the selection of the historylist has changed.
|
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, 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, dispose, 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, pack, 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, processKeyEvent, 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 StyleDialog(Frame parent, boolean modal)
parent - parent-frame of this dialogmodal - true, if the dialog should block the parentpublic void valueChanged(ListSelectionEvent evt)
valueChanged in interface ListSelectionListenerevt - ListSelectionEventpublic Map<String,FeatureServiceAttribute> getFeatureServiceAttributes()
public void setFeatureServiceAttributes(Map<String,FeatureServiceAttribute> featureServiceAttributes)
featureServiceAttributes - new value of featureServiceAttributespublic boolean isGeoAttributeChanged()
public boolean isAttributeSelectionChanged()
public static void main(String[] args)
args - the command line argumentspublic String getSLDStyle()
public String getSLDStyle(boolean simpleStyle)
simpleStyle - DOCUMENT ME!public LayerProperties getLayerProperties()
protected void setLayerProperties(LayerProperties layerProperties)
layerProperties - new value of layerPropertiespublic void configureDialog(LayerProperties layerProperties, Map<String,FeatureServiceAttribute> featureServiceAttributes, Object query)
layerProperties - DOCUMENT ME!featureServiceAttributes - DOCUMENT ME!query - DOCUMENT ME!public void configureDialog(Reader sldDefinition, AbstractFeatureService featureService)
sldDefinition - DOCUMENT ME!featureService - DOCUMENT ME!public void configureDialog(Reader sldDefinition, String layerName, LayerProperties layerProperties, Map<String,FeatureServiceAttribute> featureServiceAttributes, Object query)
sldDefinition - DOCUMENT ME!layerName - DOCUMENT ME!layerProperties - DOCUMENT ME!featureServiceAttributes - featureservice to get attributes fromquery - DOCUMENT ME!public Vector<String> getSelectedAttributes()
public String getSelectedGeoAttribute()
public String getQueryString()
public boolean isQueryStringChanged()
public boolean isAccepted()
public void setVisible(boolean visible)
setVisible in class Dialogvisible - b true to show, false to hideCopyright © 2012–2026 cismet GmbH. All rights reserved.