public class CmsUploadPropertyPanel extends com.google.gwt.user.client.ui.FlowPanel implements I_CmsFormHandler, I_CmsTruncable
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
构造器和说明 |
---|
CmsUploadPropertyPanel(CmsUploadPropertyDialog dialog,
CmsPostUploadDialogBean options,
CmsPostUploadDialogPanelBean values)
Public constructor.
|
限定符和类型 | 方法和说明 |
---|---|
CmsSimplePropertyEditor |
getPropertyEditor()
Gets the property editor instance.
|
java.lang.String |
getResourcePath()
Returns the resourcePath.
|
CmsPostUploadDialogPanelBean |
getUpdatedValues()
Returns the content bean (values) of the current dialog.
|
protected void |
initializePropertyEditor()
Sets up the property editor.
|
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.
|
void |
truncate(java.lang.String textMetricsKey,
int clientWidth)
Truncates long text and sets the original text to the title attribute.
|
add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove
add, adopt, adopt, disown, doAttachChildren, doDetachChildren, orphan, remove
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onUnload, removeFromParent, setLayoutData, sinkEvents
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, unsinkEvents
public CmsUploadPropertyPanel(CmsUploadPropertyDialog dialog, CmsPostUploadDialogBean options, CmsPostUploadDialogPanelBean values)
dialog
- the dialog which this panel is added tooptions
- the data to fill UI component optionsvalues
- the bean with the current valuespublic CmsSimplePropertyEditor getPropertyEditor()
public java.lang.String getResourcePath()
public CmsPostUploadDialogPanelBean getUpdatedValues()
public void onSubmitValidationResult(CmsForm form, boolean ok)
I_CmsFormHandler
onSubmitValidationResult
在接口中 I_CmsFormHandler
form
- the formok
- the validation resultI_CmsFormHandler.onSubmitValidationResult(org.opencms.gwt.client.ui.input.form.CmsForm, boolean)
public void onValidationResult(CmsForm form, boolean ok)
I_CmsFormHandler
onValidationResult
在接口中 I_CmsFormHandler
form
- the formok
- the validation resultI_CmsFormHandler.onValidationResult(org.opencms.gwt.client.ui.input.form.CmsForm, boolean)
public void truncate(java.lang.String textMetricsKey, int clientWidth)
I_CmsTruncable
truncate
在接口中 I_CmsTruncable
textMetricsKey
- the key identifying the text metrics to useclientWidth
- the width to use in pixelsI_CmsTruncable.truncate(java.lang.String, int)
protected void initializePropertyEditor()
protected void onLoad()
onLoad
在类中 com.google.gwt.user.client.ui.Widget
Widget.onLoad()