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
public class CmsImageInfoDisplay extends com.google.gwt.user.client.ui.Composite
Widget for displaying image information.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static interface
CmsImageInfoDisplay.I_CmsImageInfosTabUiBinder
-
Field Summary
Fields Modifier and Type Field Description protected com.google.gwt.user.client.ui.Label
m_displayCropFormat
Label.protected com.google.gwt.user.client.ui.Label
m_displayFormat
The format label.protected com.google.gwt.user.client.ui.Label
m_displayPath
The path label.protected com.google.gwt.user.client.ui.Label
m_displayPoint
Label.protected com.google.gwt.user.client.ui.Label
m_displayType
The type label.protected com.google.gwt.user.client.ui.Label
m_labelCropFormat
Label.protected com.google.gwt.user.client.ui.Label
m_labelFormat
The format label.protected com.google.gwt.user.client.ui.Label
m_labelPath
The path label.protected com.google.gwt.user.client.ui.Label
m_labelPoint
Label.protected com.google.gwt.user.client.ui.Label
m_labelType
The type label.protected CmsPushButton
m_removeCrop
Button for removing crop.protected CmsPushButton
m_removePoint
Button for removing focal point.
-
Constructor Summary
Constructors Constructor Description CmsImageInfoDisplay(java.lang.Runnable removeCropAction, java.lang.Runnable removePointAction)
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
fillContent(org.opencms.ade.galleries.shared.CmsResourceInfoBean infoBean, java.lang.String crop, java.lang.String point)
Fills the contend data.void
setCropFormat(java.lang.String cropFormat)
Sets the crop format.void
setFocalPoint(java.lang.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 Detail
-
m_displayCropFormat
@UiField protected com.google.gwt.user.client.ui.Label m_displayCropFormat
Label.
-
m_displayFormat
@UiField protected com.google.gwt.user.client.ui.Label m_displayFormat
The format label.
-
m_displayPath
@UiField protected com.google.gwt.user.client.ui.Label m_displayPath
The path label.
-
m_displayPoint
@UiField protected com.google.gwt.user.client.ui.Label m_displayPoint
Label.
-
m_displayType
@UiField protected com.google.gwt.user.client.ui.Label m_displayType
The type label.
-
m_labelCropFormat
@UiField protected com.google.gwt.user.client.ui.Label m_labelCropFormat
Label.
-
m_labelFormat
@UiField protected com.google.gwt.user.client.ui.Label m_labelFormat
The format label.
-
m_labelPath
@UiField protected com.google.gwt.user.client.ui.Label m_labelPath
The path label.
-
m_labelPoint
@UiField protected com.google.gwt.user.client.ui.Label m_labelPoint
Label.
-
m_labelType
@UiField protected com.google.gwt.user.client.ui.Label m_labelType
The type label.
-
m_removeCrop
@UiField protected CmsPushButton m_removeCrop
Button for removing crop.
-
m_removePoint
@UiField protected CmsPushButton m_removePoint
Button for removing focal point.
-
-
Constructor Detail
-
CmsImageInfoDisplay
public CmsImageInfoDisplay(java.lang.Runnable removeCropAction, java.lang.Runnable removePointAction)
The constructor.- Parameters:
removeCropAction
- action to remove the croppingremovePointAction
- action to remove the image point
-
-
Method Detail
-
fillContent
public void fillContent(org.opencms.ade.galleries.shared.CmsResourceInfoBean infoBean, java.lang.String crop, java.lang.String point)
Fills the contend data.- Parameters:
infoBean
- the image info beancrop
- the cropping textpoint
- the focal point text
-
setCropFormat
public void setCropFormat(java.lang.String cropFormat)
Sets the crop format.- Parameters:
cropFormat
- the crop format
-
setFocalPoint
public void setFocalPoint(java.lang.String focalPoint)
Sets the focal point.- Parameters:
focalPoint
- the focal point
-
-