public class IlvJDisplayPreferencesEditorPanel extends JPanel
JPanel.AccessibleJPanel
JComponent.AccessibleJComponent
Container.AccessibleAWTContainer
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
Modifier and Type | Field and Description |
---|---|
static String |
ALTITUDE_UNIT_CHANGED
Event reason to indicate that altitude preferences have changed.
|
static String |
COORD_FORMATTER_CHANGED
Event reason to indicate that coordinate formatter preferences have changed.
|
static String |
DISTANCE_UNIT_CHANGED
Event reason to indicate that distance preferences have changed.
|
static String |
GEODETIC_STATE_CHANGED
Event reason to indicate that altitude preferences have changed.
|
static String |
PREFERENCES_CHANGED
Event reason to indicate that all preferences have 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 |
---|
IlvJDisplayPreferencesEditorPanel()
Creates an instance of Projection Editor Panel.
|
Modifier and Type | Method and Description |
---|---|
void |
addDisplayPreferencesChangeListener(PropertyChangeListener listener)
Add a
PropertyChangeListener to the listener list. |
void |
firePreferencesChanged(String reason)
Fires a
PropertyChangeEvent event when preferences change. |
IlvLinearUnit |
getAltitudeUnit()
Returns the altitude unit selected on the panel.
|
JComboBox<IlvUnit> |
getAltitudeUnitList()
Returns A combo box lazily created using all units returned by
IlvUnit.GetRegisteredUnits() . |
IlvCoordinateFormatter |
getCoordinateFormatter()
Returns the coordinate formatter selected on the panel.
|
JComboBox<String> |
getCoordinateFormatterList()
Returns A combo box lazily created using
IlvCoordinateFormatterDictionary.getFormatterNames() . |
IlvDisplayPreferences |
getDisplayPreferences()
Returns the display preferences set in the panel.
|
IlvLinearUnit |
getDistanceUnit()
Returns the distance unit selected on the panel.
|
JComboBox<IlvUnit> |
getDistanceUnitList()
Returns A combo box lazily created using all units returned by
IlvUnit.GetRegisteredUnits() . |
JCheckBox |
getUsingGeodeticComputationCheckBox()
Returns A check box lazily created to edit the Geodetic Computation boolean.
|
boolean |
isUsingGeodeticComputation()
Returns an indication that the map should use geodetic computation/date line wrapping.
|
void |
removeDisplayPreferencesChangeListener(PropertyChangeListener listener)
Remove a
PropertyChangeListener from the listener list. |
void |
setAltitudeUnit(IlvLinearUnit el)
Selects an Altitude unit.
|
void |
setCoordinateFormatter(IlvCoordinateFormatter el)
Selects the coordinate formatter.
|
void |
setDisplayPreferences(IlvDisplayPreferences cs)
Sets the display preferences displayed in the panel.
|
void |
setDistanceUnit(IlvLinearUnit el)
Selects a Distance unit.
|
void |
setUsingGeodeticComputation(boolean usingGeodeticComputation)
Changes the indication that the map should use geodetic computation/date line wrapping.
|
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, setEnabled, 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 DISTANCE_UNIT_CHANGED
public static final String ALTITUDE_UNIT_CHANGED
public static final String GEODETIC_STATE_CHANGED
public static final String COORD_FORMATTER_CHANGED
public static final String PREFERENCES_CHANGED
public IlvJDisplayPreferencesEditorPanel()
public IlvDisplayPreferences getDisplayPreferences()
public void setDisplayPreferences(IlvDisplayPreferences cs)
cs
- Display preferences to select in the panel.public IlvLinearUnit getDistanceUnit()
public JComboBox<IlvUnit> getDistanceUnitList()
IlvUnit.GetRegisteredUnits()
.IlvUnit.GetRegisteredUnits()
.public void setDistanceUnit(IlvLinearUnit el)
el
- Distance unit to select in the panel.public IlvLinearUnit getAltitudeUnit()
public JComboBox<IlvUnit> getAltitudeUnitList()
IlvUnit.GetRegisteredUnits()
.IlvUnit.GetRegisteredUnits()
.public void setAltitudeUnit(IlvLinearUnit el)
el
- Altitude unit to select on the panel.public boolean isUsingGeodeticComputation()
public JCheckBox getUsingGeodeticComputationCheckBox()
public void setUsingGeodeticComputation(boolean usingGeodeticComputation)
usingGeodeticComputation
- true
to set date line wrapping on.public IlvCoordinateFormatter getCoordinateFormatter()
public JComboBox<String> getCoordinateFormatterList()
IlvCoordinateFormatterDictionary.getFormatterNames()
.IlvCoordinateFormatterDictionary.getFormatterNames()
.public void setCoordinateFormatter(IlvCoordinateFormatter el)
el
- Coordinate formatter to select on the panel.public void firePreferencesChanged(String reason)
PropertyChangeEvent
event when preferences change.reason
- Reason for the event.public void addDisplayPreferencesChangeListener(PropertyChangeListener listener)
PropertyChangeListener
to the listener list. listener
- The PropertyChangeListener
to be added.public void removeDisplayPreferencesChangeListener(PropertyChangeListener listener)
PropertyChangeListener
from the listener list.listener
- The PropertyChangeListener
to be removed.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.