Package org.opencms.acacia.client.ui
Class CmsValuePanel
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.acacia.client.ui.CmsValuePanel
- 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,- Iterable<com.google.gwt.user.client.ui.Widget>,- I_CmsDropTarget,- I_CmsHasResizeOnShow
public class CmsValuePanel
extends com.google.gwt.user.client.ui.FlowPanel
implements I_CmsDropTarget, I_CmsHasResizeOnShow
The attribute values panel.
- 
Nested Class SummaryNested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObjectcom.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabledNested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgetscom.google.gwt.user.client.ui.HasWidgets.ForIsWidgetNested classes/interfaces inherited from interface com.google.gwt.user.client.ui.IndexedPanelcom.google.gwt.user.client.ui.IndexedPanel.ForIsWidgetNested classes/interfaces inherited from interface com.google.gwt.user.client.ui.InsertPanelcom.google.gwt.user.client.ui.InsertPanel.ForIsWidget
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected com.google.gwt.dom.client.ElementThe current place holder.protected intThe placeholder position index.Fields inherited from class com.google.gwt.user.client.ui.UIObjectDEBUG_ID_PREFIX
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleancheckPosition(int x, int y, CmsDNDHandler.Orientation orientation) Returns true if the given cursor position is over the drop target.intReturns the index of the placeholder or -1 if no placeholder is attached.voidHighlights the outline of this panel.voidinsertPlaceholder(com.google.gwt.dom.client.Element placeholder, int x, int y, CmsDNDHandler.Orientation orientation) Inserts a new placeholder.voidonDrop(I_CmsDraggable draggable) Executed on drop.voidRemoves the highlighting border.voidRemoves the placeholder.voidrepositionPlaceholder(int x, int y, CmsDNDHandler.Orientation orientation) Repositions the placeholder.voidAdjusts widget's size once it's visible.voidUpdates the highlighting position if present.Methods inherited from class com.google.gwt.user.client.ui.FlowPaneladd, clear, insert, insertMethods inherited from class com.google.gwt.user.client.ui.ComplexPaneladd, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, removeMethods inherited from class com.google.gwt.user.client.ui.Paneladd, adopt, doAttachChildren, doDetachChildren, orphan, removeMethods inherited from class com.google.gwt.user.client.ui.WidgetaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEventsMethods inherited from class com.google.gwt.user.client.ui.UIObjectaddStyleDependentName, 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, toStringMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.opencms.gwt.client.dnd.I_CmsDropTargetgetElementMethods inherited from interface com.google.gwt.user.client.ui.IndexedPanelgetWidget, getWidgetCount, getWidgetIndex, removeMethods inherited from interface com.google.gwt.user.client.ui.IndexedPanel.ForIsWidgetgetWidgetIndexMethods inherited from interface com.google.gwt.user.client.ui.InsertPanel.ForIsWidgetaddMethods inherited from interface java.lang.IterableforEach, spliterator
- 
Field Details- 
m_placeholderThe current place holder.
- 
m_placeholderIndexThe placeholder position index.
 
- 
- 
Constructor Details- 
CmsValuePanelpublic CmsValuePanel()Constructor.
 
- 
- 
Method Details- 
checkPositionDescription copied from interface:I_CmsDropTargetReturns true if the given cursor position is over the drop target.- Specified by:
- checkPositionin interface- I_CmsDropTarget
- Parameters:
- x- the cursor client x position
- y- the cursor client y position
- orientation- the drag and drop orientation
- Returns:
- trueif the given cursor position is over the drop target
- See Also:
 
- 
getPlaceholderIndexDescription copied from interface:I_CmsDropTargetReturns the index of the placeholder or -1 if no placeholder is attached.- Specified by:
- getPlaceholderIndexin interface- I_CmsDropTarget
- Returns:
- the index
- See Also:
 
- 
highlightOutlineHighlights the outline of this panel.
- 
insertPlaceholderpublic void insertPlaceholder(com.google.gwt.dom.client.Element placeholder, int x, int y, CmsDNDHandler.Orientation orientation) Description copied from interface:I_CmsDropTargetInserts a new placeholder.- Specified by:
- insertPlaceholderin interface- I_CmsDropTarget
- Parameters:
- placeholder- the placeholder element
- x- the cursor client x position
- y- the cursor client y position
- orientation- the drag and drop orientation
- See Also:
 
- 
onDropDescription copied from interface:I_CmsDropTargetExecuted on drop.- Specified by:
- onDropin interface- I_CmsDropTarget
- Parameters:
- draggable- the draggable being dropped
- See Also:
 
- 
removeHighlightingRemoves the highlighting border.
- 
removePlaceholderDescription copied from interface:I_CmsDropTargetRemoves the placeholder.- Specified by:
- removePlaceholderin interface- I_CmsDropTarget
- See Also:
 
- 
repositionPlaceholderDescription copied from interface:I_CmsDropTargetRepositions the placeholder.- Specified by:
- repositionPlaceholderin interface- I_CmsDropTarget
- Parameters:
- x- the cursor client x position
- y- the cursor client y position
- orientation- the drag and drop orientation
- See Also:
 
- 
resizeOnShowDescription copied from interface:I_CmsHasResizeOnShowAdjusts widget's size once it's visible.- Specified by:
- resizeOnShowin interface- I_CmsHasResizeOnShow
- See Also:
 
- 
updateHighlightingPositionUpdates the highlighting position if present.
 
-