Class CmsUploadPropertyPanel
- java.lang.Object
-
- com.google.gwt.user.client.ui.UIObject
-
- com.google.gwt.user.client.ui.Widget
-
- com.google.gwt.user.client.ui.Panel
-
- com.google.gwt.user.client.ui.ComplexPanel
-
- com.google.gwt.user.client.ui.FlowPanel
-
- org.opencms.ade.postupload.client.ui.CmsUploadPropertyPanel
-
- All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers
,com.google.gwt.event.shared.HasHandlers
,com.google.gwt.user.client.EventListener
,com.google.gwt.user.client.ui.HasVisibility
,com.google.gwt.user.client.ui.HasWidgets
,com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
,com.google.gwt.user.client.ui.IndexedPanel
,com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
,com.google.gwt.user.client.ui.InsertPanel
,com.google.gwt.user.client.ui.InsertPanel.ForIsWidget
,com.google.gwt.user.client.ui.IsWidget
,java.lang.Iterable<com.google.gwt.user.client.ui.Widget>
,I_CmsFormHandler
public class CmsUploadPropertyPanel extends com.google.gwt.user.client.ui.FlowPanel implements I_CmsFormHandler
Panel for the property dialog.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
-
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
-
-
Constructor Summary
Constructors Constructor Description CmsUploadPropertyPanel(CmsUploadPropertyDialog dialog, org.opencms.ade.postupload.shared.CmsPostUploadDialogBean options, org.opencms.ade.postupload.shared.CmsPostUploadDialogPanelBean values)
Public constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CmsSimplePropertyEditor
getPropertyEditor()
Gets the property editor instance.java.lang.String
getResourcePath()
Returns the resourcePath.org.opencms.ade.postupload.shared.CmsPostUploadDialogPanelBean
getUpdatedValues()
Returns the content bean (values) of the current dialog.protected void
initializePropertyEditor()
Sets up the property editor.boolean
isSubmitting()
Returns true if properties are currently being submitted.protected void
onLoad()
void
onSubmitValidationResult(CmsForm form, boolean ok)
This method is called when the validation triggered by an attempt to submit the form has finished.void
onValidationResult(CmsForm form, boolean ok)
This method is called when the normal validation triggered by changing fields has finished.-
Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel
add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove
-
Methods inherited from class com.google.gwt.user.client.ui.Panel
add, adopt, doAttachChildren, doDetachChildren, orphan, remove
-
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
-
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel
getWidget, getWidgetCount, getWidgetIndex, remove
-
-
-
-
Constructor Detail
-
CmsUploadPropertyPanel
public CmsUploadPropertyPanel(CmsUploadPropertyDialog dialog, org.opencms.ade.postupload.shared.CmsPostUploadDialogBean options, org.opencms.ade.postupload.shared.CmsPostUploadDialogPanelBean values)
Public constructor.- Parameters:
dialog
- the dialog which this panel is added tooptions
- the data to fill UI component optionsvalues
- the bean with the current values
-
-
Method Detail
-
getPropertyEditor
public CmsSimplePropertyEditor getPropertyEditor()
Gets the property editor instance.- Returns:
- the property editor instance
-
getResourcePath
public java.lang.String getResourcePath()
Returns the resourcePath.- Returns:
- the resourcePath
-
getUpdatedValues
public org.opencms.ade.postupload.shared.CmsPostUploadDialogPanelBean getUpdatedValues()
Returns the content bean (values) of the current dialog.- Returns:
- the content bean (values) of the current dialog
-
isSubmitting
public boolean isSubmitting()
Description copied from interface:I_CmsFormHandler
Returns true if properties are currently being submitted.- Specified by:
isSubmitting
in interfaceI_CmsFormHandler
- Returns:
- true if properties are being submitted
- See Also:
I_CmsFormHandler.isSubmitting()
-
onSubmitValidationResult
public void onSubmitValidationResult(CmsForm form, boolean ok)
Description copied from interface:I_CmsFormHandler
This method is called when the validation triggered by an attempt to submit the form has finished.- Specified by:
onSubmitValidationResult
in interfaceI_CmsFormHandler
- Parameters:
form
- the formok
- the validation result- See Also:
I_CmsFormHandler.onSubmitValidationResult(org.opencms.gwt.client.ui.input.form.CmsForm, boolean)
-
onValidationResult
public void onValidationResult(CmsForm form, boolean ok)
Description copied from interface:I_CmsFormHandler
This method is called when the normal validation triggered by changing fields has finished.- Specified by:
onValidationResult
in interfaceI_CmsFormHandler
- Parameters:
form
- the formok
- the validation result- See Also:
I_CmsFormHandler.onValidationResult(org.opencms.gwt.client.ui.input.form.CmsForm, boolean)
-
initializePropertyEditor
protected void initializePropertyEditor()
Sets up the property editor.
-
onLoad
protected void onLoad()
- Overrides:
onLoad
in classcom.google.gwt.user.client.ui.Widget
- See Also:
Widget.onLoad()
-
-