Class CmsImageInfoDisplay
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
org.opencms.ade.galleries.client.preview.ui.CmsImageInfoDisplay
- 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.IsRenderable
,com.google.gwt.user.client.ui.IsWidget
Widget for displaying image information.
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static interface
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
-
Field Summary
Modifier and TypeFieldDescriptionprotected com.google.gwt.user.client.ui.Label
Label.protected com.google.gwt.user.client.ui.Label
The format label.protected com.google.gwt.user.client.ui.Label
The path label.protected com.google.gwt.user.client.ui.Label
Label.protected com.google.gwt.user.client.ui.Label
The type label.protected com.google.gwt.user.client.ui.Label
Label.protected com.google.gwt.user.client.ui.Label
The format label.protected com.google.gwt.user.client.ui.Label
The path label.protected com.google.gwt.user.client.ui.Label
Label.protected com.google.gwt.user.client.ui.Label
The type label.protected CmsPushButton
Button for removing crop.protected CmsPushButton
Button for removing focal point.Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
-
Constructor Summary
ConstructorDescriptionCmsImageInfoDisplay
(Runnable removeCropAction, Runnable removePointAction) The constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
fillContent
(org.opencms.ade.galleries.shared.CmsResourceInfoBean infoBean, String crop, String point) Fills the contend data.void
setCropFormat
(String cropFormat) Sets the crop format.void
setFocalPoint
(String focalPoint) Sets the focal point.Methods inherited from class com.google.gwt.user.client.ui.Composite
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, 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, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
-
Field Details
-
m_displayCropFormat
Label. -
m_displayFormat
The format label. -
m_displayPath
The path label. -
m_displayPoint
Label. -
m_displayType
The type label. -
m_labelCropFormat
Label. -
m_labelFormat
The format label. -
m_labelPath
The path label. -
m_labelPoint
Label. -
m_labelType
The type label. -
m_removeCrop
Button for removing crop. -
m_removePoint
Button for removing focal point.
-
-
Constructor Details
-
CmsImageInfoDisplay
The constructor.- Parameters:
removeCropAction
- action to remove the croppingremovePointAction
- action to remove the image point
-
-
Method Details
-
setCropFormat
Sets the crop format.- Parameters:
cropFormat
- the crop format
-
setFocalPoint
Sets the focal point.- Parameters:
focalPoint
- the focal point