|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.idv.control.DisplaySetting
public class DisplaySetting
| Constructor Summary | |
|---|---|
DisplaySetting()
ctor |
|
DisplaySetting(String name,
List<PropertyValue> propertyValues)
ctor |
|
| Method Summary | |
|---|---|
boolean |
applicableTo(ControlDescriptor cd)
Is this displaysetting applicable to the given cd |
boolean |
changeName(IntegratedDataViewer idv,
JDialog dialog)
Change the name of this display setting |
static String |
cleanName(String name)
Clean up the name |
void |
clearOnlyApplicableTo()
clear out the applicable to controls map |
static void |
doSave(IntegratedDataViewer idv,
JDialog dialog,
List<PropertyValue> propList,
DisplayControlImpl display)
Save the display settings |
boolean |
equals(Object o)
is equals |
Hashtable |
getApplicableToControls()
Get the ApplicableToControls property. |
String |
getCategory()
get the category |
boolean |
getIsLocal()
Get the IsLocal property. |
String |
getName()
Get the Name property. |
String |
getNameWithoutCategory()
Get just the name without the category prefix |
List<PropertyValue> |
getPropertyValues()
Get the PropertyValues property. |
void |
setApplicableToControls(Hashtable value)
Set the ApplicableToControls property. |
void |
setIsLocal(boolean value)
Set the IsLocal property. |
void |
setName(String value)
Set the Name property. |
void |
setOnlyApplicableTo(ControlDescriptor cd)
set that this setting is only applicable to the given control |
void |
setPropertyValues(List<PropertyValue> value)
Set the PropertyValues property. |
String |
toString()
to string |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DisplaySetting()
public DisplaySetting(String name,
List<PropertyValue> propertyValues)
name - The namepropertyValues - The values| Method Detail |
|---|
public boolean applicableTo(ControlDescriptor cd)
cd - The control descriptor
public boolean changeName(IntegratedDataViewer idv,
JDialog dialog)
idv - the idvdialog - the dialog
public static void doSave(IntegratedDataViewer idv,
JDialog dialog,
List<PropertyValue> propList,
DisplayControlImpl display)
idv - the idvdialog - the dialogpropList - List of propertiesdisplay - The displaypublic void setName(String value)
value - The new value for Namepublic String getCategory()
public String getNameWithoutCategory()
public static String cleanName(String name)
name - the name
public String getName()
public void setPropertyValues(List<PropertyValue> value)
value - The new value for PropertyValuespublic List<PropertyValue> getPropertyValues()
public boolean equals(Object o)
equals in class Objecto - to
public void setIsLocal(boolean value)
value - The new value for IsLocalpublic boolean getIsLocal()
public String toString()
toString in class Objectpublic void clearOnlyApplicableTo()
public void setOnlyApplicableTo(ControlDescriptor cd)
cd - the controlpublic void setApplicableToControls(Hashtable value)
value - The new value for ApplicableToControlspublic Hashtable getApplicableToControls()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||