|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.swfm.mica.model.MiModelEntity
com.swfm.mica.view.MiModelPropertyViewManager
| Field Summary | |
static java.lang.String |
Mi_HAS_CHANGED_PROPERTY
|
static MiPropertyViewManagerStyle |
Mi_MAKE_PROPERTY_PANEL_FOR_ALL_PROPERTY_CLASSES_STYLE
|
static MiPropertyViewManagerStyle |
Mi_MAKE_PROPERTY_PANEL_FOR_TOP_PROPERTY_CLASS_ONLY_STYLE
|
static MiPropertyViewManagerStyle |
Mi_MAKE_SEPARATE_PROPERTY_PANEL_FOR_EACH_PROPERTY_CLASS_STYLE
|
static java.lang.String |
Mi_MODEL_HAS_CHANGED_PROPERTY
|
| Constructor Summary | |
MiModelPropertyViewManager()
|
|
MiModelPropertyViewManager(MiDialogBoxTemplate dialogBox,
MiiModelEntity model)
|
|
MiModelPropertyViewManager(MiiModelEntity model)
|
|
MiModelPropertyViewManager(MiiModelEntity model,
int numberOfPanelColumns)
|
|
MiModelPropertyViewManager(MiiModelEntity model,
int numberOfPanelColumns,
boolean scrollablePanels,
Strings displayOnlyTheseProperties)
|
|
MiModelPropertyViewManager(MiiModelEntity model,
int numberOfPanelColumns,
boolean scrollablePanels,
Strings displayOnlyTheseProperties,
MiPropertyViewManagerStyle style)
|
|
MiModelPropertyViewManager(MiPropertyViewManagerStyle style)
|
|
| Method Summary | |
static MiPropertyPanel |
buildPanel(MiPropertyDescriptions descs,
Strings displayOnlyTheseProperties,
Strings displayedProperties,
boolean scrollable,
int numberOfColumns,
java.util.Hashtable propertyPanelCache,
MiiActionHandler widgetValueChangeHandler)
|
static MiPart |
buildPanels(MiiModelEntity model,
Strings displayOnlyTheseProperties,
MiParts propertyPanels,
Strings displayedProperties,
boolean scrollable,
int numberOfColumns,
java.util.Hashtable propertyPanelCache,
MiiActionHandler widgetValueChangeHandler,
MiPropertyViewManagerStyle style)
|
MiDialogBoxTemplate |
getDialogBox()
|
java.lang.String |
getFieldValue(java.lang.String name)
|
MiWidget |
getFieldWidget(java.lang.String name)
|
boolean |
getGenerateUndoableTransactions()
|
MiPart |
getGraphics()
|
MiiModelEntity |
getInspectedModel()
|
MiParts |
getInspectedPanels()
|
MiiModelEntity |
getModel()
Converts the graphics found in the target view container to a MiiModelDocument. |
int |
getNumberOfPanelColumns()
|
static MiPropertyDescriptions |
getPropertyDescriptions(MiiModelEntity model)
|
static java.util.Properties |
getPropertyValues(MiiModelEntity model,
Strings lookForTheseProperties,
Strings propertiesReturned)
|
MiPropertyViewManagerStyle |
getStyle()
|
MiPart |
getView()
Gets the view container. |
boolean |
hasValidationErrors()
|
boolean |
isApplyingEveryChange()
|
boolean |
isApplyingEveryCharacterChange()
|
boolean |
isBuilt()
|
boolean |
isUpdatingModelbyUserOnlyIfAllNewValuesValid()
|
static MiPropertyWidgets |
makePropertyWidgets(MiPropertyDescriptions descs,
Strings displayOnlyTheseProperties,
MiiActionHandler widgetValueChangeHandler,
Strings displayedProperties)
|
static MiPropertyWidgets |
makePropertyWidgets(java.util.Properties properties,
MiiActionHandler widgetValueChangeHandler)
|
boolean |
processAction(MiiAction action)
Processes the given action. |
void |
processPropertyChange(MiPropertyChange event)
|
void |
setApplyingEveryChange(boolean flag)
|
void |
setApplyingEveryCharacterChange(boolean flag)
|
void |
setFieldValue(java.lang.String name,
java.lang.String value)
|
void |
setGenerateUndoableTransactions(boolean flag)
|
void |
setIsBuilt(boolean flag)
|
void |
setModel(MiiModelEntity model)
Loads the target view container with graphics representing the data in the given document. |
void |
setNumberOfPanelColumns(int numColumns)
|
void |
setStyle(MiPropertyViewManagerStyle style)
|
void |
setUpdatingModelbyUserOnlyIfAllNewValuesValid(boolean flag)
|
void |
setView(MiDialogBoxTemplate dialogBox)
|
void |
setView(MiPart view)
Sets the view container. |
void |
setVisible(boolean flag)
|
void |
updateModel()
|
void |
updateModelWithPropertyByPropertyValidation()
|
void |
updateView()
|
boolean |
verifyLossOfAnyChanges()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String Mi_HAS_CHANGED_PROPERTY
public static final java.lang.String Mi_MODEL_HAS_CHANGED_PROPERTY
public static final MiPropertyViewManagerStyle Mi_MAKE_SEPARATE_PROPERTY_PANEL_FOR_EACH_PROPERTY_CLASS_STYLE
public static final MiPropertyViewManagerStyle Mi_MAKE_PROPERTY_PANEL_FOR_TOP_PROPERTY_CLASS_ONLY_STYLE
public static final MiPropertyViewManagerStyle Mi_MAKE_PROPERTY_PANEL_FOR_ALL_PROPERTY_CLASSES_STYLE
| Constructor Detail |
public MiModelPropertyViewManager(MiDialogBoxTemplate dialogBox,
MiiModelEntity model)
public MiModelPropertyViewManager()
public MiModelPropertyViewManager(MiPropertyViewManagerStyle style)
public MiModelPropertyViewManager(MiiModelEntity model)
public MiModelPropertyViewManager(MiiModelEntity model,
int numberOfPanelColumns)
public MiModelPropertyViewManager(MiiModelEntity model,
int numberOfPanelColumns,
boolean scrollablePanels,
Strings displayOnlyTheseProperties)
public MiModelPropertyViewManager(MiiModelEntity model,
int numberOfPanelColumns,
boolean scrollablePanels,
Strings displayOnlyTheseProperties,
MiPropertyViewManagerStyle style)
| Method Detail |
public void setStyle(MiPropertyViewManagerStyle style)
public MiPropertyViewManagerStyle getStyle()
public void setView(MiDialogBoxTemplate dialogBox)
public MiDialogBoxTemplate getDialogBox()
public void setVisible(boolean flag)
public void setView(MiPart view)
MiiViewManager
setView in interface MiiViewManagerview - the view containerMiiViewManager.getView()public MiPart getView()
MiiViewManager
getView in interface MiiViewManagerpublic MiPart getGraphics()
public boolean isBuilt()
public void setIsBuilt(boolean flag)
public void setNumberOfPanelColumns(int numColumns)
public int getNumberOfPanelColumns()
public void setUpdatingModelbyUserOnlyIfAllNewValuesValid(boolean flag)
public boolean isUpdatingModelbyUserOnlyIfAllNewValuesValid()
public void setApplyingEveryCharacterChange(boolean flag)
public boolean isApplyingEveryCharacterChange()
public void setApplyingEveryChange(boolean flag)
public boolean isApplyingEveryChange()
public void setGenerateUndoableTransactions(boolean flag)
public boolean getGenerateUndoableTransactions()
public MiWidget getFieldWidget(java.lang.String name)
public java.lang.String getFieldValue(java.lang.String name)
public void setFieldValue(java.lang.String name,
java.lang.String value)
public MiiModelEntity getInspectedModel()
public MiParts getInspectedPanels()
public void updateView()
public void updateModel()
public void updateModelWithPropertyByPropertyValidation()
public void setModel(MiiModelEntity model)
MiiViewManager
setModel in interface MiiViewManagermodel - the documentMiiViewManager.setView(com.swfm.mica.core.MiPart)public MiiModelEntity getModel()
MiiViewManager
getModel in interface MiiViewManagerMiiViewManager.setView(com.swfm.mica.core.MiPart)public void processPropertyChange(MiPropertyChange event)
processPropertyChange in interface MiiPropertyChangeHandlerpublic boolean processAction(MiiAction action)
MiiActionHandler
processAction in interface MiiActionHandlerprocessAction in class MiModelEntitypublic boolean hasValidationErrors()
public boolean verifyLossOfAnyChanges()
public static MiPart buildPanels(MiiModelEntity model,
Strings displayOnlyTheseProperties,
MiParts propertyPanels,
Strings displayedProperties,
boolean scrollable,
int numberOfColumns,
java.util.Hashtable propertyPanelCache,
MiiActionHandler widgetValueChangeHandler,
MiPropertyViewManagerStyle style)
public static MiPropertyPanel buildPanel(MiPropertyDescriptions descs,
Strings displayOnlyTheseProperties,
Strings displayedProperties,
boolean scrollable,
int numberOfColumns,
java.util.Hashtable propertyPanelCache,
MiiActionHandler widgetValueChangeHandler)
public static MiPropertyDescriptions getPropertyDescriptions(MiiModelEntity model)
public static java.util.Properties getPropertyValues(MiiModelEntity model,
Strings lookForTheseProperties,
Strings propertiesReturned)
public static MiPropertyWidgets makePropertyWidgets(java.util.Properties properties,
MiiActionHandler widgetValueChangeHandler)
public static MiPropertyWidgets makePropertyWidgets(MiPropertyDescriptions descs,
Strings displayOnlyTheseProperties,
MiiActionHandler widgetValueChangeHandler,
Strings displayedProperties)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||