|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.idv.control.DisplaySettingsDialog
public class DisplaySettingsDialog
Shows the display settings dialog
| Nested Class Summary | |
|---|---|
class |
DisplaySettingsDialog.PropertyValueWrapper
Class PropertyValueWrapper utility class |
| Constructor Summary | |
|---|---|
DisplaySettingsDialog(DisplayControlImpl display)
ctor |
|
DisplaySettingsDialog(IntegratedDataViewer idv)
ctor |
|
DisplaySettingsDialog(IntegratedDataViewer idv,
DisplayControlImpl display)
ctor |
|
DisplaySettingsDialog(IntegratedDataViewer idv,
DisplayControlImpl display,
boolean showDialog)
The ctor |
|
| Method Summary | |
|---|---|
protected void |
addPropertyValue(Object object,
String propName,
String label,
String category)
Add a property value |
void |
applyDisplaySetting(DisplaySetting displaySetting)
Apply the display settings |
void |
doApply()
apply dialog |
void |
doCancel()
cancel dialog |
void |
doOk()
do ok of dialog |
void |
doSave()
Save the settings |
List<PropertyValue> |
getPropertyValues()
Get the property values |
static String |
getValueLabel(Object v)
Get label to show for the given value |
static List |
makeDisplaySettingsMenuItems(List<DisplaySetting> displaySettings,
Object object,
String method,
String labelPrefix)
make menu items |
void |
setDisplay(DisplayControlImpl display)
Set the display to use |
void |
showSelectMenu(JMenu menu)
Add items to the Select menu |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DisplaySettingsDialog(IntegratedDataViewer idv,
DisplayControlImpl display)
idv - the idvdisplay - The initial display to use
public DisplaySettingsDialog(IntegratedDataViewer idv,
DisplayControlImpl display,
boolean showDialog)
idv - the idvdisplay - Initial display to useshowDialog - Should we show the dialogpublic DisplaySettingsDialog(IntegratedDataViewer idv)
idv - the idvpublic DisplaySettingsDialog(DisplayControlImpl display)
display - The initial display| Method Detail |
|---|
public List<PropertyValue> getPropertyValues()
public void setDisplay(DisplayControlImpl display)
display - The display
protected void addPropertyValue(Object object,
String propName,
String label,
String category)
object - value of the propertypropName - its namelabel - label to usecategory - The category of the propertypublic void showSelectMenu(JMenu menu)
menu - select menupublic void doSave()
public void applyDisplaySetting(DisplaySetting displaySetting)
displaySetting - The display setting
public static List makeDisplaySettingsMenuItems(List<DisplaySetting> displaySettings,
Object object,
String method,
String labelPrefix)
displaySettings - List of display settingsobject - ???method - Method to calllabelPrefix - Prefix
public void doCancel()
public void doOk()
public void doApply()
public static String getValueLabel(Object v)
v - value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||