|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
ilog.views.maps.beans.IlvJDisplayPreferencesEditorPanel
public class IlvJDisplayPreferencesEditorPanel
This class defines a panel to view and edit display preferences for beans such as a scale bar or coordinate viewer.
This component is packaged as a Bean and is designed to be used very easily
in a JAVA development environment supporting visual programming with Beans.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
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. |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
IlvJDisplayPreferencesEditorPanel()
Creates an instance of Projection Editor Panel. |
|
| Method Summary | |
|---|---|
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 |
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 |
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 |
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. |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public IlvJDisplayPreferencesEditorPanel()
| Method Detail |
|---|
public IlvDisplayPreferences getDisplayPreferences()
public void setDisplayPreferences(IlvDisplayPreferences cs)
cs - Display preferences to select in the panel.public IlvLinearUnit getDistanceUnit()
public JComboBox getDistanceUnitList()
IlvUnit.GetRegisteredUnits().
IlvUnit.GetRegisteredUnits().public void setDistanceUnit(IlvLinearUnit el)
el - Distance unit to select in the panel.public IlvLinearUnit getAltitudeUnit()
public JComboBox 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 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.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||