Class DocumentsTileGrid
java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.smartgwt.client.widgets.BaseWidget
com.smartgwt.client.widgets.Canvas
com.smartgwt.client.widgets.tile.TileLayout
com.smartgwt.client.widgets.tile.TileGrid
com.logicaldoc.gui.frontend.client.document.grid.DocumentsTileGrid
- 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.IsWidget
,DocumentObserver
,DocumentsGrid
,com.smartgwt.client.core.LogicalStructure
,com.smartgwt.client.widgets.DataBoundComponent
,com.smartgwt.client.widgets.events.HasClearHandlers
,com.smartgwt.client.widgets.events.HasClickHandlers
,com.smartgwt.client.widgets.events.HasDoubleClickHandlers
,com.smartgwt.client.widgets.events.HasDragCompleteHandlers
,com.smartgwt.client.widgets.events.HasDragMoveHandlers
,com.smartgwt.client.widgets.events.HasDragRepositionMoveHandlers
,com.smartgwt.client.widgets.events.HasDragRepositionStartHandlers
,com.smartgwt.client.widgets.events.HasDragRepositionStopHandlers
,com.smartgwt.client.widgets.events.HasDragResizeMoveHandlers
,com.smartgwt.client.widgets.events.HasDragResizeStartHandlers
,com.smartgwt.client.widgets.events.HasDragResizeStopHandlers
,com.smartgwt.client.widgets.events.HasDragStartHandlers
,com.smartgwt.client.widgets.events.HasDragStopHandlers
,com.smartgwt.client.widgets.events.HasDropCompleteHandlers
,com.smartgwt.client.widgets.events.HasDropHandlers
,com.smartgwt.client.widgets.events.HasDropMoveHandlers
,com.smartgwt.client.widgets.events.HasDropOutHandlers
,com.smartgwt.client.widgets.events.HasDropOverHandlers
,com.smartgwt.client.widgets.events.HasFetchDataHandlers
,com.smartgwt.client.widgets.events.HasFocusChangedHandlers
,com.smartgwt.client.widgets.events.HasHoverHandlers
,com.smartgwt.client.widgets.events.HasHoverHiddenHandlers
,com.smartgwt.client.widgets.events.HasKeyDownHandlers
,com.smartgwt.client.widgets.events.HasKeyPressHandlers
,com.smartgwt.client.widgets.events.HasMouseDownHandlers
,com.smartgwt.client.widgets.events.HasMouseMoveHandlers
,com.smartgwt.client.widgets.events.HasMouseOutHandlers
,com.smartgwt.client.widgets.events.HasMouseOverHandlers
,com.smartgwt.client.widgets.events.HasMouseStillDownHandlers
,com.smartgwt.client.widgets.events.HasMouseUpHandlers
,com.smartgwt.client.widgets.events.HasMouseWheelHandlers
,com.smartgwt.client.widgets.events.HasMovedHandlers
,com.smartgwt.client.widgets.events.HasParentMovedHandlers
,com.smartgwt.client.widgets.events.HasResizedHandlers
,com.smartgwt.client.widgets.events.HasRightMouseDownHandlers
,com.smartgwt.client.widgets.events.HasRuleContextChangedHandlers
,com.smartgwt.client.widgets.events.HasScrolledHandlers
,com.smartgwt.client.widgets.events.HasShowContextMenuHandlers
,com.smartgwt.client.widgets.events.HasVisibilityChangedHandlers
,com.smartgwt.client.widgets.tile.events.HasDataArrivedHandlers
,com.smartgwt.client.widgets.tile.events.HasRecordClickHandlers
,com.smartgwt.client.widgets.tile.events.HasRecordContextClickHandlers
,com.smartgwt.client.widgets.tile.events.HasRecordDoubleClickHandlers
,com.smartgwt.client.widgets.tile.events.HasSelectionChangedHandlers
public class DocumentsTileGrid
extends com.smartgwt.client.widgets.tile.TileGrid
implements DocumentsGrid, DocumentObserver
Grid used to show a documents gallery during navigation or searches.
- Since:
- 7.0
- Author:
- Marco Meschieri - LogicalDOC
-
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
-
Field Summary
Fields inherited from class com.smartgwt.client.widgets.BaseWidget
nativeObject
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
Fields inherited from interface com.logicaldoc.gui.frontend.client.document.grid.DocumentsGrid
MODE_GALLERY, MODE_LIST
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Clear the actual selectionvoid
destroy()
void
Expands all visible rowsvoid
Replace the actual data with a new sourceint
getCount()
Counts the total number of elementsRetrieves all the documents dispalyed in the gridgetIds()
Retrieves the list of all the idsint
Counts the total number of selected elementsGets a bean representation of the currently selected item (not all properties are populated)Gets a bean representation of the currently selected items (not all properties are populated)Retrieves the list of all selected document IDsint
Retrieves the index of the currently selected recint
loadGridLayout
(GUIFolder folder) Loads the layout of the grid(columns, ordering ...)void
onDocumentBeginEditing
(GUIDocument document) Invoked after the document's properties are being editedvoid
onDocumentCancelEditing
(GUIDocument document) Invoked after the document's properties are being editedvoid
onDocumentCheckedIn
(GUIDocument document) Invoked after the document's checkinvoid
onDocumentCheckedOut
(GUIDocument document) Invoked after the document's checkoutvoid
onDocumentLocked
(GUIDocument document) Invoked after the document is lockedvoid
onDocumentModified
(GUIDocument document) Invoked after the document's properties has been changedvoid
onDocumentMoved
(GUIDocument document) Invoked after the document has been storedvoid
onDocumentsDeleted
(List<GUIDocument> documents) Invoked after the document has been deletedvoid
onDocumentSelected
(GUIDocument document) Invoked when a document is selectedvoid
onDocumentStored
(GUIDocument document) Invoked after the document has been storedvoid
onDocumentUnlocked
(GUIDocument document) Invoked after the document is unlockedvoid
registerCellContextClickHandler
(com.smartgwt.client.widgets.grid.events.CellContextClickHandler handler) Defines the handler of the context menu.void
registerDataArrivedHandler
(com.smartgwt.client.widgets.grid.events.DataArrivedHandler handler) void
registerDoubleClickHandler
(com.smartgwt.client.widgets.events.DoubleClickHandler handler) Defines the handler for double clicks.void
registerSelectionChangedHandler
(com.smartgwt.client.widgets.grid.events.SelectionChangedHandler handler) Defines the handler for double clicks.void
Removed the selected documents from visualizationvoid
selectDocument
(long docId) Selects the specified documentvoid
setCanDrag
(boolean drag) Makes the grid support the dragvoid
Enable the records expansionvoid
setDocuments
(List<GUIDocument> documents) Forces the records in the gridvoid
setGridCursor
(Cursor gridCursor) Defines the cursor widget this grid will have to interact tovoid
showFilters
(boolean showFilters) Shows or hide the filtersvoid
updateDocument
(GUIDocument document) Updates the visualization of the proper document elementMethods inherited from class com.smartgwt.client.widgets.tile.TileGrid
addData, addData, addData, addDataArrivedHandler, addDragCompleteHandler, addDropCompleteHandler, addFetchDataHandler, addFormulaField, addRecordClickHandler, addRecordContextClickHandler, addRecordDoubleClickHandler, addSelectionChangedHandler, addSummaryField, addTile, anySelected, changeAutoChildDefaults, changeAutoChildDefaults, deselectAllRecords, deselectRange, deselectRecord, deselectRecord, deselectRecords, deselectRecords, disableHilite, disableHiliting, editFields, editHilites, enableHilite, enableHilite, enableHiliting, enableHiliting, exportData, exportData, exportData, fetchData, fetchData, fetchData, fetchData, filterData, filterData, filterData, filterData, find, findAll, findIndex, findNextIndex, findNextIndex, getAddDropValues, getAddFormulaFieldText, getAddOperation, getAddSummaryFieldText, getAnimateTileChange, getAutoFetchAsFilter, getAutoFetchData, getAutoFetchTextMatchStyle, getCanAcceptDroppedRecords, getCanAddFormulaFields, getCanAddSummaryFields, getCanDragTilesOut, getCanReorderTiles, getCurrentTile, getData, getDataArity, getDataAsJSList, getDataAsRecordList, getDataFetchMode, getDataPageSize, getDataSource, getDeepCloneOnEdit, getDetailViewer, getDetailViewerProperties, getDragData, getDragDataAction, getDragTrackerStyle, getDragTrackerTitle, getDrawAllMaxTiles, getDropIndex, getDropValues, getDuplicateDragMessage, getEditFormulaFieldText, getEditProxyConstructor, getEditSummaryFieldText, getEmptyMessage, getEmptyMessageStyle, getExportAll, getExportFields, getExportIncludeSummaries, getFetchOperation, getFieldAlignments, getFieldCount, getFieldsAsJavaScriptObjects, getFieldState, getFieldState, getHiliteProperty, getHilites, getHiliteState, getImplicitCriteria, getInitialCriteria, getLoadingDataMessage, getLoadingDataMessageStyle, getLoadingMessage, getLogicalStructure, getOrCreateRef, getPreventDuplicates, getPrintTilesPerLine, getProgressiveLoading, getRecordIndex, getRecordList, getRecycleTiles, getRemoveOperation, getReselectOnUpdate, getReselectOnUpdateNotifications, getResultSet, getSelectedRecord, getSelection, getSelectionType, getShowAllRecords, getShowComplexFields, getShowDetailFields, getShowEmptyMessage, getShowHiddenFields, getSort, getStyleName, getTile, getTile, getTile, getTileConstructor, getTileDragAppearance, getTileIndex, getTileProperties, getTileRecord, getTiles, getTileScreen, getTileValueAlign, getTileValueStyle, getTitleField, getTitleFieldValue, getUpdateOperation, getUseAllDataSourceFields, getUseFlatFields, getValuesShowDown, getValuesShowRollOver, getValuesShowSelected, getWrapValues, invalidateCache, removeData, removeData, removeData, removeSelectedData, removeTile, removeTile, removeTile, selectAllRecords, selectRange, selectRange, selectRecord, selectRecord, selectRecord, selectRecord, selectRecords, selectRecords, selectRecords, selectRecords, setAddDropValues, setAddFormulaFieldText, setAddOperation, setAddSummaryFieldText, setAnimateTileChange, setAutoFetchAsFilter, setAutoFetchData, setAutoFetchTextMatchStyle, setCanAcceptDroppedRecords, setCanAddFormulaFields, setCanAddSummaryFields, setCanDragTilesOut, setCanReorderTiles, setCreateTileCustomizer, setData, setData, setData, setDataArity, setDataFetchMode, setDataPageSize, setDataSource, setDataSource, setDataSource, setDeepCloneOnEdit, setDefaultProperties, setDetailViewerProperties, setDragDataAction, setDragDataCustomizer, setDragTrackerStyle, setDrawAllMaxTiles, setDropValues, setDuplicateDragMessage, setEditFormulaFieldText, setEditProxyConstructor, setEditSummaryFieldText, setEmptyMessage, setEmptyMessageStyle, setExportAll, setExportFields, setExportIncludeSummaries, setFetchOperation, setFields, setFields, setFieldState, setFieldState, setHiliteProperty, setHilites, setHiliteState, setImplicitCriteria, setInitialCriteria, setLoadingDataMessage, setLoadingDataMessageStyle, setLoadingMessage, setLogicalStructure, setPreventDuplicates, setPrintTilesPerLine, setProgressiveLoading, setRecycleTiles, setRemoveOperation, setReselectOnUpdate, setReselectOnUpdateNotifications, setSelectionType, setShowAllRecords, setShowComplexFields, setShowDetailFields, setShowEmptyMessage, setShowHiddenFields, setSort, setStyleName, setTileConstructor, setTileDragAppearance, setTileProperties, setTiles, setTileScreen, setTileValueAlign, setTileValueStyle, setTitleField, setUpdateOperation, setUpdateTileCustomizer, setUseAllDataSourceFields, setUseFlatFields, setValuesShowDown, setValuesShowRollOver, setValuesShowSelected, setWrapValues, sortByProperty, transferRecords, transferSelectedData, transferSelectedData, viewSelectedData, viewSelectedData, viewSelectedData
Methods inherited from class com.smartgwt.client.widgets.tile.TileLayout
addTile, addTile, getAutoWrapLines, getDragLine, getDragLineStyle, getDragLineThickness, getExpandMargins, getLayoutMargin, getOrientation, getOverflow, getPaddingAsLayoutMargin, getShowDragLine, getTileHeight, getTileHMargin, getTileMargin, getTileSize, getTilesPerLine, getTileVMargin, getTileWidth, layoutTiles, setAutoWrapLines, setDefaultProperties, setDragLineStyle, setDragLineThickness, setExpandMargins, setLayoutMargin, setLayoutPolicy, setLogicalStructure, setOrientation, setOverflow, setPaddingAsLayoutMargin, setShowDragLine, setTileHeight, setTileHMargin, setTileMargin, setTileSize, setTilesPerLine, setTileVMargin, setTileWidth, transformTileRect
Methods inherited from class com.smartgwt.client.widgets.Canvas
addChild, addChild, addChild, addChild, addChild, addClearHandler, addClickHandler, addDoubleClickHandler, addDragMoveHandler, addDragRepositionMoveHandler, addDragRepositionStartHandler, addDragRepositionStopHandler, addDragResizeMoveHandler, addDragResizeStartHandler, addDragResizeStopHandler, addDragStartHandler, addDragStopHandler, addDropHandler, addDropMoveHandler, addDropOutHandler, addDropOverHandler, addFocusChangedHandler, addHoverHandler, addHoverHiddenHandler, addKeyDownHandler, addKeyPressHandler, addMouseDownHandler, addMouseMoveHandler, addMouseOutHandler, addMouseOverHandler, addMouseStillDownHandler, addMouseUpHandler, addMouseWheelHandler, addMovedHandler, addParentMovedHandler, addPeer, addPeer, addPeer, addPeer, addResizedHandler, addRightMouseDownHandler, addRuleContextChangedHandler, addScrolledHandler, addShowContextMenuHandler, addSnapAlignCandidate, addStyleName, addVisibilityChangedHandler, adjustForContent, animateFade, animateFade, animateFade, animateFade, animateFade, animateFade, animateFade, animateFade, animateHide, animateHide, animateHide, animateHide, animateHide, animateHide, animateHide, animateMove, animateMove, animateMove, animateMove, animateRect, animateRect, animateRect, animateRect, animateResize, animateResize, animateResize, animateResize, animateScroll, animateScroll, animateScroll, animateScroll, animateScroll, animateScroll, animateShow, animateShow, animateShow, animateShow, animateShow, animateShow, animateShow, asSGWTComponent, blur, bringToFront, clear, clearExplicitTabIndex, clickMaskUp, clickMaskUp, contains, contains, containsEvent, containsEventTarget, containsFocus, containsPoint, containsPoint, dataContextChanged, deparent, depeer, disable, enable, encloses, focus, focusAfterGroup, focusAtEnd, focusInNextTabElement, focusInPreviousTabElement, getAbsoluteLeft, getAbsoluteTop, getAccessKey, getAdaptiveHeightPriority, getAdaptiveWidthPriority, getAlwaysManageFocusNavigation, getAlwaysShowScrollbars, getAnimateAcceleration, getAnimateFadeTime, getAnimateHideAcceleration, getAnimateHideEffect, getAnimateHideTime, getAnimateMoveAcceleration, getAnimateMoveTime, getAnimateRectAcceleration, getAnimateRectTime, getAnimateResizeAcceleration, getAnimateResizeLayoutMode, getAnimateResizeTime, getAnimateScrollAcceleration, getAnimateScrollTime, getAnimateShowAcceleration, getAnimateShowEffect, getAnimateShowTime, getAnimateTime, getAppImgDir, getAriaHandleID, getAriaRole, getAriaStateDefaults, getAutoMaskComponents, getAutoParent, getAutoPopulateData, getAutoShowParent, getBackgroundColor, getBackgroundImage, getBackgroundPosition, getBackgroundRepeat, getBorder, getBorderRadius, getBottom, getById, getByJSObject, getByLocalId, getCanAcceptDrop, getCanAdaptHeight, getCanAdaptWidth, getCanDrag, getCanDragReposition, getCanDragResize, getCanDragScroll, getCanDrop, getCanDropBefore, getCanFocus, getCanHover, getCanSelectText, getCanvasAutoChild, getCanvasItem, getChildren, getChildrenResizeSnapAlign, getChildrenSnapAlign, getChildrenSnapCenterAlign, getChildrenSnapEdgeAlign, getChildrenSnapResizeToGrid, getChildrenSnapToGrid, getChildTabPosition, getClassName, getComponentMask, getComponentMaskDefaults, getContentElement, getContents, getContextMenu, getCorrectZoomOverflow, getCursor, getDataContext, getDataPath, getDefaultHeight, getDefaultWidth, getDestroyed, getDestroying, getDisabled, getDisabledCursor, getDisableTouchScrollingForDrag, getDoubleClickDelay, getDragAppearance, getDragIntersectStyle, getDragMaskType, getDragMaxHeight, getDragMaxWidth, getDragMinHeight, getDragMinWidth, getDragOpacity, getDragRepositionAppearance, getDragRepositionCursor, getDragResizeAppearance, getDragScrollDelay, getDragStartDistance, getDragTarget, getDragTargetAsString, getDragType, getDropTarget, getDropTargetAsString, getDropTypes, getDropTypesAsString, getDynamicContents, getEdgeBackgroundColor, getEdgeCenterBackgroundColor, getEdgeImage, getEdgeMarginSize, getEdgeOffset, getEdgeOpacity, getEdgeShowCenter, getEdgeSize, getEditNode, getEditProxy, getElement, getElement, getEnableWhen, getEndLine, getEventEdge, getEventEdge, getExtraSpace, getFacetId, getFloatingScrollbars, getFormItemAutoChild, getForwardSVGeventsToObject, getFullDataPath, getGroupBorderCSS, getGroupLabelBackgroundColor, getGroupLabelStyleName, getGroupPadding, getGroupTitle, getHeight, getHeightAsString, getHideUsingDisplayNone, getHoverAlign, getHoverAutoDestroy, getHoverAutoFitMaxWidth, getHoverAutoFitMaxWidthAsString, getHoverAutoFitWidth, getHoverComponent, getHoverDelay, getHoverFocusKey, getHoverHeight, getHoverHTML, getHoverMoveWithMouse, getHoverOpacity, getHoverPersist, getHoverScreen, getHoverStyle, getHoverVAlign, getHoverWidth, getHoverWrap, getHSnapPosition, getHSnapPosition, getHtmlElement, getHtmlElementAsString, getHtmlPosition, getImage, getImgURL, getImgURL, getInnerContentHeight, getInnerContentWidth, getInnerHeight, getInnerWidth, getIsGroup, getIsPrinting, getIsRuleScope, getIsSnapAlignCandidate, getKeepInParentRect, getLayoutAlign, getLeavePageSpace, getLeft, getLeftAsString, getLocalId, getLocateChildrenBy, getLocateChildrenType, getLocatePeersBy, getLocatePeersType, getLocatorName, getMargin, getMasterCanvas, getMasterElement, getMatchElement, getMatchElementHeight, getMatchElementWidth, getMaxHeight, getMaxWidth, getMaxZoomOverflowError, getMenuConstructor, getMinHeight, getMinNonEdgeSize, getMinWidth, getMomentumScrollMinSpeed, getMouseStillDownDelay, getMouseStillDownInitialDelay, getName, getNativeAutoHideScrollbars, getNextZIndex, getNoDoubleClicks, getNoDropCursor, getOffsetHeight, getOffsetWidth, getOffsetX, getOffsetY, getOpacity, getOuterElement, getPadding, getPageBottom, getPageLeft, getPageRect, getPageRight, getPageTop, getPaletteDefaults, getPanelContainer, getParentCanvas, getParentElement, getPeers, getPercentBox, getPercentSource, getPersistentMatchElement, getPointerSettings, getPointerTarget, getPointerTargetAsString, getPosition, getPrefix, getPrintChildrenAbsolutelyPositioned, getPrintHTML, getPrintHTML, getPrintStyleName, getPrompt, getProportionalResizeModifiers, getProportionalResizing, getReceiveScrollbarEvents, getRect, getRedrawOnResize, getResizeBarTarget, getResizeFrom, getRight, getRuleContext, getRuleContext, getRuleScope, getScrollbarSize, getScrollBottom, getScrollHeight, getScrollLeft, getScrollRight, getScrollTop, getScrollWidth, getShadowColor, getShadowDepth, getShadowHOffset, getShadowImage, getShadowOffset, getShadowSoftness, getShadowSpread, getShadowVOffset, getShouldPrint, getShowCustomScrollbars, getShowDragShadow, getShowEdges, getShowHover, getShowHoverComponents, getShowPointer, getShowResizeBar, getShowShadow, getShowSnapGrid, getShrinkElementOnHide, getSizeMayChangeOnRedraw, getSkinImgDir, getSnapAlignCandidates, getSnapAlignCenterLineStyle, getSnapAlignEdgeLineStyle, getSnapAxis, getSnapEdge, getSnapGridLineProperties, getSnapGridStyle, getSnapHDirection, getSnapHGap, getSnapOffsetLeft, getSnapOffsetTop, getSnapOnDrop, getSnapPosition, getSnapPosition, getSnapResizeToAlign, getSnapResizeToGrid, getSnapTo, getSnapToAlign, getSnapToCenterAlign, getSnapToEdgeAlign, getSnapToGrid, getSnapVDirection, getSnapVGap, getStartLine, getTabIndex, getTestDataContext, getTitle, getTooltip, getTop, getTopAsString, getTopElement, getUpdateTabPositionOnDraw, getUpdateTabPositionOnReparent, getUseBackMask, getUseCSSShadow, getUseDragMask, getUseImageForSVG, getUseNativeDrag, getUseOpacityFilter, getUseTouchScrolling, getValuesManager, getValuesManagerAsString, getViewportHeight, getViewportWidth, getVisibility, getVisibleHeight, getVisibleWhen, getVisibleWidth, getVSnapPosition, getVSnapPosition, getWidth, getWidthAsString, getZIndex, getZIndex, handleHover, hide, hideClickMask, hideClickMask, hideComponentMask, hideComponentMask, hideContextMenu, imgHTML, imgHTML, imgHTML, intersects, isDirty, isDisabled, isFocused, isVisible, keyUp, layoutChildren, linkHTML, linkHTML, linkHTML, linkHTML, linkHTML, linkHTML, markForDestroy, markForRedraw, markForRedraw, moveAbove, moveBelow, moveBy, moveTo, pageScrollDown, pageScrollUp, placeNear, placeNear, placeNear, print, print, print, print, printComponents, provideRuleContext, provideRuleContext, redraw, redraw, registerFontScaledPaddingStyles, removeChild, removeChild, removePeer, removePeer, removeRuleContext, removeSnapAlignCandidate, resizeAutoChildAttributes, resizeBy, resizeControls, resizeControlsTo, resizeFonts, resizeFonts, resizeFonts, resizeFontsTo, resizeIcons, resizePadding, resizePadding, resizeTo, resizeTo, revealChild, revealChild, scrollBy, scrollByPercent, scrollTo, scrollTo, scrollTo, scrollToBottom, scrollToLeft, scrollToPercent, scrollToRight, scrollToTop, sendToBack, setAccessKey, setAdaptHeightByCustomizer, setAdaptiveHeightPriority, setAdaptiveWidthPriority, setAdaptWidthByCustomizer, setAlign, setAllowExternalFilters, setAlwaysManageFocusNavigation, setAlwaysShowScrollbars, setAnimateAcceleration, setAnimateFadeTime, setAnimateHideAcceleration, setAnimateHideEffect, setAnimateHideTime, setAnimateMoveAcceleration, setAnimateMoveTime, setAnimateRectAcceleration, setAnimateRectTime, setAnimateResizeAcceleration, setAnimateResizeLayoutMode, setAnimateResizeTime, setAnimateScrollAcceleration, setAnimateScrollTime, setAnimateShowAcceleration, setAnimateShowEffect, setAnimateShowTime, setAnimateTime, setAppImgDir, setAriaRole, setAriaState, setAutoChildConstructor, setAutoChildProperties, setAutoChildProperties, setAutoChildProperties, setAutoChildProperties, setAutoChildVisibility, setAutoHeight, setAutoMaskComponents, setAutoParent, setAutoPopulateData, setAutoResizeAutoChildAttributes, setAutoResizeIcons, setAutoShowParent, setAutoWidth, setBackgroundColor, setBackgroundImage, setBackgroundPosition, setBackgroundRepeat, setBorder, setBorderRadius, setBottom, setCanAcceptDrop, setCanAdaptHeight, setCanAdaptWidth, setCanDrag, setCanDragReposition, setCanDragResize, setCanDragScroll, setCanDrop, setCanDropBefore, setCanFocus, setCanHover, setCanSelectText, setChildren, setChildrenResizeSnapAlign, setChildrenSnapAlign, setChildrenSnapCenterAlign, setChildrenSnapEdgeAlign, setChildrenSnapResizeToGrid, setChildrenSnapToGrid, setComponentMaskDefaults, setContents, setContextMenu, setCorrectZoomOverflow, setCursor, setDataContext, setDataPath, setDefaultHeight, setDefaultPageSpace, setDefaultProperties, setDefaultShowCustomScrollbars, setDefaultWidth, setDisabled, setDisabledCursor, setDisableTouchScrollingForDrag, setDoubleClickDelay, setDragAppearance, setDragIntersectStyle, setDragMaskType, setDragMaxHeight, setDragMaxWidth, setDragMinHeight, setDragMinWidth, setDragOpacity, setDragRepositionAppearance, setDragRepositionCursor, setDragResizeAppearance, setDragScrollDelay, setDragStartDistance, setDragTarget, setDragTarget, setDragType, setDropTarget, setDropTarget, setDropTypes, setDropTypes, setDynamicContents, setEdgeBackgroundColor, setEdgeCenterBackgroundColor, setEdgeImage, setEdgeMarginSize, setEdgeOffset, setEdgeOpacity, setEdgeShowCenter, setEdgeSize, setEditMode, setEditMode, setEditMode, setEnableWhen, setEndLine, setExtraSpace, setFacetId, setFloatingScrollbars, setForwardSVGeventsToObject, setGroupBorderCSS, setGroupLabelBackgroundColor, setGroupLabelStyleName, setGroupPadding, setGroupTitle, setHeight, setHeight, setHeight, setHeight100, setHideUsingDisplayNone, setHoverAlign, setHoverAutoDestroy, setHoverAutoFitMaxWidth, setHoverAutoFitMaxWidth, setHoverAutoFitWidth, setHoverDelay, setHoverFocusKey, setHoverHeight, setHoverMoveWithMouse, setHoverOpacity, setHoverPersist, setHoverScreen, setHoverStyle, setHoverVAlign, setHoverWidth, setHoverWrap, setHtmlElement, setHtmlElement, setHtmlPosition, setImage, setImage, setInitHandler, setIsGroup, setIsRuleScope, setIsSnapAlignCandidate, setKeepInParentRect, setKeepInParentRect, setKeepInParentRect, setLayoutAlign, setLayoutAlign, setLeavePageSpace, setLeft, setLeft, setLocateChildrenBy, setLocateChildrenType, setLocatePeersBy, setLocatePeersType, setLocatorName, setLogicalStructure, setMargin, setMatchElement, setMatchElementHeight, setMatchElementWidth, setMaxHeight, setMaxWidth, setMaxZoomOverflowError, setMenuConstructor, setMinHeight, setMinNonEdgeSize, setMinWidth, setMomentumScrollMinSpeed, setMouseStillDownDelay, setMouseStillDownInitialDelay, setName, setNativeAutoHideScrollbars, setNeverUseFilters, setNoDoubleClicks, setNoDropCursor, setOpacity, setPadding, setPageLeft, setPageTop, setPanelContainer, setParentCanvas, setParentElement, setPeers, setPercentBox, setPercentSource, setPersistentMatchElement, setPointerSettings, setPointerTarget, setPosition, setPrefix, setPrintChildrenAbsolutelyPositioned, setPrintStyleName, setPrompt, setProportionalResizeModifiers, setProportionalResizing, setReceiveScrollbarEvents, setRect, setRect, setRedrawOnResize, setRelativeTabPosition, setResizeBarTarget, setResizeFrom, setResizeFrom, setRight, setRuleScope, setScrollbarConstructor, setScrollbarSize, setShadowColor, setShadowDepth, setShadowHOffset, setShadowImage, setShadowOffset, setShadowSoftness, setShadowSpread, setShadowVOffset, setShouldPrint, setShowCustomScrollbars, setShowDragShadow, setShowEdges, setShowHover, setShowHoverComponents, setShowPointer, setShowResizeBar, setShowShadow, setShowSnapGrid, setShrinkElementOnHide, setSizeMayChangeOnRedraw, setSkinImgDir, setSmoothFade, setSnapAlignCandidates, setSnapAlignCenterLineStyle, setSnapAlignEdgeLineStyle, setSnapAxis, setSnapEdge, setSnapGridLineProperties, setSnapGridStyle, setSnapHDirection, setSnapHGap, setSnapOffsetLeft, setSnapOffsetTop, setSnapOnDrop, setSnapResizeToAlign, setSnapResizeToGrid, setSnapTo, setSnapToAlign, setSnapToCenterAlign, setSnapToEdgeAlign, setSnapToGrid, setSnapVDirection, setSnapVGap, setStartLine, setTabIndex, setTestDataContext, setTitle, setTooltip, setTop, setTop, setUpdateTabPositionOnDraw, setUpdateTabPositionOnReparent, setUseBackMask, setUseCSSShadow, setUseDragMask, setUseImageForSVG, setUseNativeDrag, setUseOpacityFilter, setUseTouchScrolling, setValuesManager, setValuesManager, setVisibility, setVisible, setVisibleWhen, setWidth, setWidth, setWidth, setWidth100, setZIndex, shouldDragScroll, show, showClickMask, showComponentMask, showComponentMask, showNextTo, showNextTo, showNextTo, showNextTo, showPrintPreview, showPrintPreview, showPrintPreview, showPrintPreview, showRecursively, updateChildTabPosition, updateChildTabPositions, updateEditNode, updateHover, updateHover, updateShadow, updateTabPositionForDraw, visibleAtPoint, willAcceptDrop
Methods inherited from class com.smartgwt.client.widgets.BaseWidget
addDrawHandler, addDynamicProperty, addDynamicProperty, addDynamicProperty, addDynamicProperty, applyFactoryProperties, clearDynamicProperty, completeCreation, doOnRender, draw, equals, getAttribute, getConfig, getDOM, getHandlerCount, getID, getInnerHTML, getJsObj, getOrCreateJsObj, getRef, getScClassName, hasAutoAssignedID, hasDynamicProperty, hashCode, initNativeObject, isConfigOnly, isCreated, isDrawn, isFactoryCreated, setConfig, setConfigOnly, setDefaultProperties, setFactoryCreated, setID, setJavaScriptObject, setLogicalStructure, setLogicalStructure, setNullProperty, setPosition, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setScClassName, toString
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, fireEvent, getLayoutData, getParent, isAttached, onBrowserEvent, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, ensureDebugId, ensureDebugId, getStylePrimaryName, isVisible, removeStyleDependentName, removeStyleName, setPixelSize, setSize, setStyleDependentName, setStyleName, setStylePrimaryName, setVisible, sinkBitlessEvent
Methods inherited from interface com.smartgwt.client.widgets.DataBoundComponent
getOrCreateJsObj
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
-
Constructor Details
-
DocumentsTileGrid
-
-
Method Details
-
updateDocument
Description copied from interface:DocumentsGrid
Updates the visualization of the proper document element- Specified by:
updateDocument
in interfaceDocumentsGrid
- Parameters:
document
- the document to update
-
setDocuments
Description copied from interface:DocumentsGrid
Forces the records in the grid- Specified by:
setDocuments
in interfaceDocumentsGrid
- Parameters:
documents
- collectiomn of documents to render
-
getSelectedDocument
Description copied from interface:DocumentsGrid
Gets a bean representation of the currently selected item (not all properties are populated)- Specified by:
getSelectedDocument
in interfaceDocumentsGrid
- Returns:
- the first selected document
-
getSelectedDocuments
Description copied from interface:DocumentsGrid
Gets a bean representation of the currently selected items (not all properties are populated)- Specified by:
getSelectedDocuments
in interfaceDocumentsGrid
- Returns:
- the documents selected in the grid
-
getDocuments
Description copied from interface:DocumentsGrid
Retrieves all the documents dispalyed in the grid- Specified by:
getDocuments
in interfaceDocumentsGrid
- Returns:
- the list of documents
-
getSelectedIndex
public int getSelectedIndex()Description copied from interface:DocumentsGrid
Retrieves the index of the currently selected rec- Specified by:
getSelectedIndex
in interfaceDocumentsGrid
- Returns:
- the row of the selected element
-
getSelectedIds
Description copied from interface:DocumentsGrid
Retrieves the list of all selected document IDs- Specified by:
getSelectedIds
in interfaceDocumentsGrid
- Returns:
- identifiers of the selected documents
-
getIds
Description copied from interface:DocumentsGrid
Retrieves the list of all the ids- Specified by:
getIds
in interfaceDocumentsGrid
- Returns:
- list of identifiers
-
deselectAll
public void deselectAll()Description copied from interface:DocumentsGrid
Clear the actual selection- Specified by:
deselectAll
in interfaceDocumentsGrid
-
setCanExpandRows
public void setCanExpandRows()Description copied from interface:DocumentsGrid
Enable the records expansion- Specified by:
setCanExpandRows
in interfaceDocumentsGrid
-
getCount
public int getCount()Description copied from interface:DocumentsGrid
Counts the total number of elements- Specified by:
getCount
in interfaceDocumentsGrid
- Returns:
- total number of records
-
getSelectedCount
public int getSelectedCount()Description copied from interface:DocumentsGrid
Counts the total number of selected elements- Specified by:
getSelectedCount
in interfaceDocumentsGrid
- Returns:
- number of selected rows
-
showFilters
public void showFilters(boolean showFilters) Description copied from interface:DocumentsGrid
Shows or hide the filters- Specified by:
showFilters
in interfaceDocumentsGrid
- Parameters:
showFilters
- if the filters must be displayed
-
selectDocument
public void selectDocument(long docId) Description copied from interface:DocumentsGrid
Selects the specified document- Specified by:
selectDocument
in interfaceDocumentsGrid
- Parameters:
docId
- identifier of the document to display
-
expandVisibleRows
public void expandVisibleRows()Description copied from interface:DocumentsGrid
Expands all visible rows- Specified by:
expandVisibleRows
in interfaceDocumentsGrid
-
setCanDrag
public void setCanDrag(boolean drag) Description copied from interface:DocumentsGrid
Makes the grid support the drag- Specified by:
setCanDrag
in interfaceDocumentsGrid
- Parameters:
drag
- if the drag must be supported
-
registerDoubleClickHandler
public void registerDoubleClickHandler(com.smartgwt.client.widgets.events.DoubleClickHandler handler) Description copied from interface:DocumentsGrid
Defines the handler for double clicks. Implementations must check if the document is password protected- Specified by:
registerDoubleClickHandler
in interfaceDocumentsGrid
- Parameters:
handler
- invoked when the user does the double-click
-
registerSelectionChangedHandler
public void registerSelectionChangedHandler(com.smartgwt.client.widgets.grid.events.SelectionChangedHandler handler) Description copied from interface:DocumentsGrid
Defines the handler for double clicks. Implementations must check if the document is password protected- Specified by:
registerSelectionChangedHandler
in interfaceDocumentsGrid
- Parameters:
handler
- invoked when the user changes the selection
-
registerCellContextClickHandler
public void registerCellContextClickHandler(com.smartgwt.client.widgets.grid.events.CellContextClickHandler handler) Description copied from interface:DocumentsGrid
Defines the handler of the context menu. Implementations must check if the document is password protected- Specified by:
registerCellContextClickHandler
in interfaceDocumentsGrid
- Parameters:
handler
- invoked when the user clicks with right-button
-
registerDataArrivedHandler
public void registerDataArrivedHandler(com.smartgwt.client.widgets.grid.events.DataArrivedHandler handler) - Specified by:
registerDataArrivedHandler
in interfaceDocumentsGrid
-
removeSelectedDocuments
public void removeSelectedDocuments()Description copied from interface:DocumentsGrid
Removed the selected documents from visualization- Specified by:
removeSelectedDocuments
in interfaceDocumentsGrid
-
onDocumentSelected
Description copied from interface:DocumentObserver
Invoked when a document is selected- Specified by:
onDocumentSelected
in interfaceDocumentObserver
- Parameters:
document
- the document that has been selected
-
onDocumentModified
Description copied from interface:DocumentObserver
Invoked after the document's properties has been changed- Specified by:
onDocumentModified
in interfaceDocumentObserver
- Parameters:
document
- the document that has been modified
-
onDocumentStored
Description copied from interface:DocumentObserver
Invoked after the document has been stored- Specified by:
onDocumentStored
in interfaceDocumentObserver
- Parameters:
document
- the document that has been stored
-
onDocumentsDeleted
Description copied from interface:DocumentObserver
Invoked after the document has been deleted- Specified by:
onDocumentsDeleted
in interfaceDocumentObserver
- Parameters:
documents
- the documents that have been deleted
-
onDocumentCheckedIn
Description copied from interface:DocumentObserver
Invoked after the document's checkin- Specified by:
onDocumentCheckedIn
in interfaceDocumentObserver
- Parameters:
document
- the document that has been checked in
-
onDocumentCheckedOut
Description copied from interface:DocumentObserver
Invoked after the document's checkout- Specified by:
onDocumentCheckedOut
in interfaceDocumentObserver
- Parameters:
document
- the document that has been checked out
-
onDocumentLocked
Description copied from interface:DocumentObserver
Invoked after the document is locked- Specified by:
onDocumentLocked
in interfaceDocumentObserver
- Parameters:
document
- the document that has been locked
-
onDocumentUnlocked
Description copied from interface:DocumentObserver
Invoked after the document is unlocked- Specified by:
onDocumentUnlocked
in interfaceDocumentObserver
- Parameters:
document
- the document that has been unlocked
-
onDocumentMoved
Description copied from interface:DocumentObserver
Invoked after the document has been stored- Specified by:
onDocumentMoved
in interfaceDocumentObserver
- Parameters:
document
- the document that has been moved
-
onDocumentBeginEditing
Description copied from interface:DocumentObserver
Invoked after the document's properties are being edited- Specified by:
onDocumentBeginEditing
in interfaceDocumentObserver
- Parameters:
document
- the document that is being edited
-
onDocumentCancelEditing
Description copied from interface:DocumentObserver
Invoked after the document's properties are being edited- Specified by:
onDocumentCancelEditing
in interfaceDocumentObserver
- Parameters:
document
- the document that is being edited
-
getFolder
- Specified by:
getFolder
in interfaceDocumentsGrid
-
destroy
public void destroy()- Specified by:
destroy
in interfaceDocumentsGrid
- Overrides:
destroy
in classcom.smartgwt.client.widgets.BaseWidget
-
fetchNewData
Description copied from interface:DocumentsGrid
Replace the actual data with a new source- Specified by:
fetchNewData
in interfaceDocumentsGrid
- Parameters:
ds
- the data source for the grid
-
setGridCursor
Description copied from interface:DocumentsGrid
Defines the cursor widget this grid will have to interact to- Specified by:
setGridCursor
in interfaceDocumentsGrid
- Parameters:
gridCursor
- the cursor
-
getGridCursor
- Specified by:
getGridCursor
in interfaceDocumentsGrid
-
loadGridLayout
Description copied from interface:DocumentsGrid
Loads the layout of the grid(columns, ordering ...)- Specified by:
loadGridLayout
in interfaceDocumentsGrid
- Parameters:
folder
- Optional folder to take the layout from- Returns:
- the page size
-