public class IlvJCoordinateSystemEditorPanel extends JPanel
setCoordinateSystem(IlvCoordinateSystem)
,
getCoordinateSystem()
,
Serialized FormJPanel.AccessibleJPanel
JComponent.AccessibleJComponent
Container.AccessibleAWTContainer
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
Modifier and Type | Field and Description |
---|---|
static String |
CANCEL_DIALOG_COMMAND
Command used when the user cancels the selection dialog returned in
createDialog(JComponent, String, ActionListener) |
static String |
COORDINATE_SYSTEM_CHANGED
Event type thrown when coordinate system is changed.
|
static String |
DATUM_CHANGED
Event type thrown when datum class is changed.
|
static String |
ELLIPSOID_CHANGED
Event type thrown when ellipsoid class is changed.
|
static String |
OK_DIALOG_COMMAND
Command used when the user accepts the selection dialog returned in
createDialog(JComponent, String, ActionListener) |
static String |
PROJECTION_CHANGED
Event type thrown when projection class is changed.
|
static String |
PROJECTION_PROPERTY_CHANGED
Event type thrown when projection properties are changed.
|
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Constructor and Description |
---|
IlvJCoordinateSystemEditorPanel()
Creates an instance of the Projection Editor Panel.
|
Modifier and Type | Method and Description |
---|---|
void |
addCoordinateSystemChangeListener(PropertyChangeListener listener)
Add a
PropertyChangeListener to the listener list. |
JDialog |
createDialog(JComponent parentComponent,
String title,
ActionListener listener)
Creates a dialog containing an
IlvCoordinateSystemEditorPanel that will invoke the specified action listener when "OK" or "CANCEL" actions are performed. |
IlvProjectionDictionary |
createProjectionDictionary()
Creates the
IlvProjectionDictionary used by this editor. |
void |
fireCoordSysChanged(String reason)
Fires a
PropertyChangeEvent event when the projection changes. |
IlvCoordinateSystem |
getCoordinateSystem()
Returns the currently edited coordinate system.
|
IlvHorizontalDatum |
getDatum()
Returns The currently selected datum.
|
JButton |
getDatumInformationButton()
Returns the datum information button.
|
JComboBox<ilog.views.maps.beans.IlvJCoordinateSystemEditorPanel.InternationalDatum> |
getDatumList()
Returns The datum selection list.
|
IlvEllipsoid |
getEllipsoid()
Returns The currently selected ellipsoid.
|
JButton |
getEllipsoidInformationButton()
Returns the ellipsoid information button.
|
JComboBox<IlvEllipsoid> |
getEllipsoidList()
Returns The ellipsoid selection list.
|
IlvProjection |
getProjection()
Returns The currently selected projection.
|
JComboBox<String> |
getProjectionList()
Returns The projection selection list.
|
boolean |
isAdvancedCheckBoxVisible()
Returns
true if the "advanced" check box of the editor is visible. |
boolean |
isAdvancedPanelsVisible()
Returns the visibility of the advanced panels of the editor.
|
boolean |
isDatumPanelVisible()
Returns
true if the datum panel of the editor is visible. |
boolean |
isEllipsoidPanelVisible()
Returns
true if the ellipsoid panel of the editor is visible. |
boolean |
isProjectionPropertySheetVisible()
Returns
true if the projection property sheet of the editor is visible. |
void |
removeCoordinateSystemChangeListener(PropertyChangeListener listener)
Remove a
PropertyChangeListener from the listener list. |
void |
setAdvancedCheckBoxVisible(boolean boxVisible)
Sets the visibility of the "advanced" check box of the editor.
|
void |
setAdvancedPanelsVisible(boolean advancedPanelVisible)
Sets the visibility of the advanced panels of the editor.
|
void |
setCoordinateSystem(IlvCoordinateSystem cs)
Sets the coordinate system displayed in the panel.
|
void |
setDatumPanelVisible(boolean datumPanelVisible)
Sets the visibility of the datum panel of the editor.
|
void |
setEllipsoidPanelVisible(boolean ellipsoidPanelVisible)
Sets the visibility of the ellipsoid panel of the editor.
|
void |
setEnabled(boolean enabled)
Sets whether or not this component is enabled.
|
void |
setProjectionPropertySheetVisible(boolean sheetVisible)
Sets the visibility of the projection property sheet of the editor.
|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
addAncestorListener, 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, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, 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, setLayout, transferFocusDownCycle, validate, validateTree
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, 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, transferFocusUpCycle
public static final String CANCEL_DIALOG_COMMAND
createDialog(JComponent, String, ActionListener)
public static final String OK_DIALOG_COMMAND
createDialog(JComponent, String, ActionListener)
public static final String PROJECTION_CHANGED
public static final String ELLIPSOID_CHANGED
public static final String DATUM_CHANGED
public static final String COORDINATE_SYSTEM_CHANGED
public static final String PROJECTION_PROPERTY_CHANGED
public IlvJCoordinateSystemEditorPanel()
public JButton getDatumInformationButton()
public JButton getEllipsoidInformationButton()
public IlvCoordinateSystem getCoordinateSystem()
public void setCoordinateSystem(IlvCoordinateSystem cs)
cs
- Initial coordinate system.public void setEnabled(boolean enabled)
setEnabled
in class JComponent
JComponent.setEnabled(boolean)
public IlvHorizontalDatum getDatum()
public JComboBox<ilog.views.maps.beans.IlvJCoordinateSystemEditorPanel.InternationalDatum> getDatumList()
public IlvEllipsoid getEllipsoid()
public JComboBox<IlvEllipsoid> getEllipsoidList()
public IlvProjection getProjection()
public JComboBox<String> getProjectionList()
public void fireCoordSysChanged(String reason)
PropertyChangeEvent
event when the projection changes.reason
- Reason for the event.public void addCoordinateSystemChangeListener(PropertyChangeListener listener)
PropertyChangeListener
to the listener list. listener
- The PropertyChangeListener
to be added.public void removeCoordinateSystemChangeListener(PropertyChangeListener listener)
PropertyChangeListener
from the listener list.listener
- The PropertyChangeListener
to be removed.public boolean isDatumPanelVisible()
true
if the datum panel of the editor is visible.true
if the datum panel is visible, else false
.public void setDatumPanelVisible(boolean datumPanelVisible)
datumPanelVisible
- A boolean value -- true
to make the panel visible, false
to
hide it.public boolean isEllipsoidPanelVisible()
true
if the ellipsoid panel of the editor is visible.true
if the ellipsoid panel is visible, else false
.public void setEllipsoidPanelVisible(boolean ellipsoidPanelVisible)
ellipsoidPanelVisible
- a boolean value -- true
to make the panel visible, false
to
hide it.public boolean isProjectionPropertySheetVisible()
true
if the projection property sheet of the editor is visible.true
if the projection property sheet is visible, else false
.public void setAdvancedCheckBoxVisible(boolean boxVisible)
boxVisible
- a boolean value -- true
to make the check box visible, false
to hide it.public boolean isAdvancedCheckBoxVisible()
true
if the "advanced" check box of the editor is visible.true
if the check box is visible, else false
.public void setProjectionPropertySheetVisible(boolean sheetVisible)
sheetVisible
- a boolean value -- true
to make the sheet visible, false
to
hide it.public void setAdvancedPanelsVisible(boolean advancedPanelVisible)
advancedPanelVisible
- a boolean value -- true
to make the panels visible, false
to
hide it.setProjectionPropertySheetVisible(boolean)
,
setEllipsoidPanelVisible(boolean)
,
setDatumPanelVisible(boolean)
public boolean isAdvancedPanelsVisible()
true
is returned.public JDialog createDialog(JComponent parentComponent, String title, ActionListener listener)
IlvCoordinateSystemEditorPanel
that will invoke the specified action listener when "OK" or "CANCEL" actions are performed.parentComponent
- Determines the frame in which the dialog is displayed.title
- Title of the dialog.listener
- Listener to be invoked when the dialog closes.JDialog
.CANCEL_DIALOG_COMMAND
,
OK_DIALOG_COMMAND
public IlvProjectionDictionary createProjectionDictionary()
IlvProjectionDictionary
used by this editor.
This default implementation returns a new IlvProjectionDictionary
.IlvProjectionDictionary
used by this editor.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.