Class DadgetNodeForm
java.lang.Object
net.datenwerke.gf.client.managerhelper.mainpanel.MainPanelView
net.datenwerke.gf.client.managerhelper.mainpanel.SimpleFormView
net.datenwerke.rs.dashboard.client.dashboard.ui.admin.forms.DadgetNodeForm
-
Field Summary
Fields inherited from class net.datenwerke.gf.client.managerhelper.mainpanel.MainPanelView
ID_MAIN_PROPERTIES_VIEW -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidComponentgetViewComponent(AbstractNodeDto selectedNode) Returns the main view component for the given node and configures the form's submit button to react to changes.Methods inherited from class net.datenwerke.gf.client.managerhelper.mainpanel.SimpleFormView
getComponentHeader, getIcon, mask, unmaskMethods inherited from class net.datenwerke.gf.client.managerhelper.mainpanel.MainPanelView
appliesTo, getSelectedNode, getTree, getTreeManager, getViewId, initializeView, isSticky, reloadNode, reloadNodeAndView, reloadView, setTree, setTreeManager, viewAdded
-
Constructor Details
-
Method Details
-
configureSimpleForm
-
getViewComponent
public Component getViewComponent(AbstractNodeDto selectedNode) Returns the main view component for the given node and configures the form's submit button to react to changes.The method delegates to
SimpleFormView.getViewComponent(AbstractNodeDto)to build the base component, then ensures the submit button is enabled and registerss on all form fields so that any change in a field will (re-)enable the submit button.invalid reference
ValueChangeHandler- Overrides:
getViewComponentin classSimpleFormView- Parameters:
selectedNode- thethat is currently selected and whose data should be displayed and edited in the forminvalid reference
AbstractNodeDto- Returns:
- the initialized GXT
representing this form view
invalid reference
Component
-