Class 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
    • Constructor Summary

      Constructors 
      Constructor Description
      DocumentsTileGrid​(GUIFolder folder, com.smartgwt.client.data.DataSource ds)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void deselectAll()
      Clear the actual selection
      void destroy()  
      void expandVisibleRows()
      Expands all visible rows
      void fetchNewData​(DocumentsDS ds)
      Replace the actual data with a new source
      int getCount()
      Counts the total number of elements
      GUIDocument[] getDocuments()
      Retrieves all the documents dispalyed in the grid
      GUIFolder getFolder()  
      Cursor getGridCursor()  
      long[] getIds()
      Retrieves the list of all the ids
      int getSelectedCount()
      Counts the total number of selected elements
      GUIDocument getSelectedDocument()
      Gets a bean representation of the currently selected item (not all properties are populated)
      GUIDocument[] getSelectedDocuments()
      Gets a bean representation of the currently selected items (not all properties are populated)
      long[] getSelectedIds()
      Retrieves the list of all selected documents
      int getSelectedIndex()
      Retrieves the index of the currently selected record
      void loadGridLayout​(GUIFolder folder)
      Loads the layout of the grid(columns, ordering ...)
      void onDocumentCheckedIn​(GUIDocument document)
      Invoked after the document's checkin
      void onDocumentCheckedOut​(GUIDocument document)
      Invoked after the document's checkout
      void onDocumentLocked​(GUIDocument document)
      Invoked after the document is locked
      void onDocumentModified​(GUIDocument document)
      Invoked after the document's properties has been changed
      void onDocumentMoved​(GUIDocument document)
      Invoked after the document has been stored
      void onDocumentsDeleted​(GUIDocument[] documents)
      Invoked after the document has been deleted
      void onDocumentSelected​(GUIDocument document)
      Invoked when a document is selected
      void onDocumentStored​(GUIDocument document)
      Invoked after the document has been stored
      void onDocumentUnlocked​(GUIDocument document)
      Invoked after the document is unlocked
      void 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 removeSelectedDocuments()
      Removed the selected documents from visualization
      void selectDocument​(long docId)
      Selects the specified document
      void setCanDrag​(boolean drag)
      Makes the grid support the drag
      void setCanExpandRows()
      Enable the records expansion
      void setDocuments​(GUIDocument[] documents)
      Forces the records in the grid
      void setGridCursor​(Cursor gridCursor)
      Defines the cursor widget this grid will have to interact to
      void showFilters​(boolean showFilters)
      Shows or hide the filters
      void updateDocument​(GUIDocument document)
      Updates the visualization of the proper document element
      • Methods 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, 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, getDataAsJSList, getDataAsRecordList, getDataFetchMode, getDataPageSize, getDataSource, getDeepCloneOnEdit, getDetailViewer, getDetailViewerProperties, getDragData, getDragDataAction, getDragTrackerStyle, getDragTrackerTitle, getDrawAllMaxTiles, getDropValues, getDuplicateDragMessage, getEditFormulaFieldText, getEditSummaryFieldText, getEmptyMessage, getEmptyMessageStyle, getExportAll, getExportFields, getExportIncludeSummaries, getFetchOperation, getFieldAlignments, getFieldCount, getFieldsAsJavaScriptObjects, getFieldState, getHiliteProperty, getHilites, getHiliteState, getImplicitCriteria, getInitialCriteria, getLoadingDataMessage, getLoadingDataMessageStyle, getLoadingMessage, getLogicalStructure, getOrCreateRef, getPreventDuplicates, getPrintTilesPerLine, getProgressiveLoading, getRecordIndex, getRecordList, getRecycleTiles, getRemoveOperation, getResultSet, getSelectedRecord, getSelection, getSelectionType, getShowAllRecords, getShowComplexFields, getShowDetailFields, getShowEmptyMessage, getShowHiddenFields, getStyleName, getTile, getTile, getTile, getTileConstructor, getTileDragAppearance, getTileIndex, getTileProperties, getTileRecord, getTiles, getTileValueAlign, getTileValueStyle, getTitleField, getTitleFieldValue, getUpdateOperation, getUseAllDataSourceFields, getUseFlatFields, getValuesShowDown, getValuesShowRollOver, getValuesShowSelected, getWrapValues, invalidateCache, removeData, removeData, removeData, removeSelectedData, 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, setDataFetchMode, setDataPageSize, setDataSource, setDataSource, setDataSource, setDeepCloneOnEdit, setDefaultProperties, setDetailViewerProperties, setDragDataAction, setDragDataCustomizer, setDragTrackerStyle, setDrawAllMaxTiles, setDropValues, setDuplicateDragMessage, setEditFormulaFieldText, setEditSummaryFieldText, setEmptyMessage, setEmptyMessageStyle, setExportAll, setExportFields, setExportIncludeSummaries, setFetchOperation, setFields, setFields, setFieldState, setHiliteProperty, setHilites, setHiliteState, setImplicitCriteria, setInitialCriteria, setLoadingDataMessage, setLoadingDataMessageStyle, setLoadingMessage, setLogicalStructure, setPreventDuplicates, setPrintTilesPerLine, setProgressiveLoading, setRecycleTiles, setRemoveOperation, setSelectionType, setShowAllRecords, setShowComplexFields, setShowDetailFields, setShowEmptyMessage, setShowHiddenFields, setStyleName, setTileConstructor, setTileDragAppearance, setTileProperties, setTiles, setTileValueAlign, setTileValueStyle, setTitleField, setUpdateOperation, setUpdateTileCustomizer, setUseAllDataSourceFields, setUseFlatFields, setValuesShowDown, setValuesShowRollOver, setValuesShowSelected, setWrapValues, sortByProperty, transferRecords, transferSelectedData, transferSelectedData
      • Methods inherited from class com.smartgwt.client.widgets.tile.TileLayout

        addTile, addTile, getAutoWrapLines, getDragLine, getExpandMargins, getLayoutMargin, getOrientation, getOverflow, getPaddingAsLayoutMargin, getTileHeight, getTileHMargin, getTileMargin, getTileSize, getTilesPerLine, getTileVMargin, getTileWidth, layoutTiles, removeTile, removeTile, removeTile, setAutoWrapLines, setDefaultProperties, setExpandMargins, setLayoutMargin, setLayoutPolicy, setLogicalStructure, setOrientation, setOverflow, setPaddingAsLayoutMargin, setTileHeight, setTileHMargin, setTileMargin, setTileSize, setTilesPerLine, setTileVMargin, setTileWidth
      • 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, containsFocus, containsPoint, containsPoint, deparent, depeer, disable, enable, encloses, focus, focusAfterGroup, focusAtEnd, focusInNextTabElement, focusInPreviousTabElement, getAbsoluteLeft, getAbsoluteTop, getAccessKey, getAdaptiveHeightPriority, getAdaptiveWidthPriority, getAlwaysShowScrollbars, getAnimateAcceleration, getAnimateFadeTime, getAnimateHideAcceleration, getAnimateHideEffect, getAnimateHideTime, getAnimateMoveAcceleration, getAnimateMoveTime, getAnimateRectAcceleration, getAnimateRectTime, getAnimateResizeAcceleration, getAnimateResizeTime, getAnimateScrollAcceleration, getAnimateScrollTime, getAnimateShowAcceleration, getAnimateShowEffect, getAnimateShowTime, getAnimateTime, getAppImgDir, getAriaRole, getAutoMaskComponents, getAutoParent, getAutoShowParent, getBackgroundColor, getBackgroundImage, getBackgroundPosition, getBackgroundRepeat, getBorder, 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, getCursor, getDataPath, getDefaultHeight, getDefaultWidth, getDestroyed, getDestroying, getDisabled, getDisabledCursor, getDisableTouchScrollingForDrag, getDoubleClickDelay, getDragAppearance, getDragIntersectStyle, getDragMaskType, getDragMaxHeight, getDragMaxWidth, getDragMinHeight, getDragMinWidth, getDragOpacity, getDragRepositionAppearance, getDragRepositionCursor, getDragResizeAppearance, getDragScrollDelay, getDragStartDistance, getDragTarget, getDragType, getDropTypes, getDropTypesAsString, getDynamicContents, getEdgeBackgroundColor, getEdgeCenterBackgroundColor, getEdgeImage, getEdgeMarginSize, getEdgeOffset, getEdgeOpacity, getEdgeShowCenter, getEdgeSize, getEditNode, getEditProxy, getEditProxyConstructor, getElement, getElement, getEnableWhen, getEventEdge, getEventEdge, getExtraSpace, getFacetId, getFormItemAutoChild, getFullDataPath, getGroupBorderCSS, getGroupLabelBackgroundColor, getGroupLabelStyleName, getGroupTitle, getHeight, getHeightAsString, getHideUsingDisplayNone, getHoverAlign, getHoverAutoDestroy, getHoverAutoFitMaxWidth, getHoverAutoFitMaxWidthAsString, getHoverAutoFitWidth, getHoverComponent, getHoverDelay, getHoverHeight, getHoverHTML, getHoverMoveWithMouse, getHoverOpacity, getHoverStyle, getHoverVAlign, getHoverWidth, getHoverWrap, getHSnapOrigin, getHSnapOrigin, getHSnapPosition, getHSnapPosition, getHtmlElement, getHtmlPosition, getImage, getImgURL, getImgURL, getInnerContentHeight, getInnerContentWidth, getInnerHeight, getInnerWidth, getIsGroup, getIsPrinting, getIsRuleScope, getIsSnapAlignCandidate, getKeepInParentRect, getLayoutAlign, getLeavePageSpace, getLeft, getLeftAsString, getLocalId, getLocateChildrenBy, getLocateChildrenType, getLocatePeersBy, getLocatePeersType, getMargin, getMasterCanvas, getMasterElement, getMatchElement, getMaxHeight, getMaxWidth, getMenuConstructor, getMinHeight, getMinNonEdgeSize, getMinWidth, getMomentumScrollMinSpeed, getMouseStillDownDelay, getMouseStillDownInitialDelay, getNextZIndex, getNoDoubleClicks, getNoDropCursor, getOffsetHeight, getOffsetWidth, getOffsetX, getOffsetY, getOpacity, getOuterElement, getPadding, getPageBottom, getPageLeft, getPageRect, getPageRight, getPageTop, getPaletteDefaults, getPanelContainer, getParentCanvas, getParentElement, getPeers, getPercentBox, getPercentSource, getPosition, getPrefix, getPrintChildrenAbsolutelyPositioned, getPrintHTML, getPrintHTML, 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, getShowResizeBar, getShowShadow, getShowSnapGrid, getShrinkElementOnHide, getSizeMayChangeOnRedraw, getSkinImgDir, getSnapAlignCandidates, getSnapAlignCenterLineStyle, getSnapAlignEdgeLineStyle, getSnapAxis, getSnapEdge, getSnapHDirection, getSnapHGap, getSnapOffsetLeft, getSnapOffsetTop, getSnapOnDrop, getSnapPosition, getSnapPosition, getSnapResizeToAlign, getSnapResizeToGrid, getSnapTo, getSnapToAlign, getSnapToCenterAlign, getSnapToEdgeAlign, getSnapToGrid, getSnapVDirection, getSnapVGap, getTabIndex, getTitle, getTooltip, getTop, getTopAsString, getTopElement, getUpdateTabPositionOnDraw, getUpdateTabPositionOnReparent, getUseBackMask, getUseCSSShadow, getUseDragMask, getUseImageForSVG, getUseNativeDrag, getUseOpacityFilter, getUseTouchScrolling, getValuesManager, getValuesManagerAsString, getViewportHeight, getViewportWidth, getVisibility, getVisibleHeight, getVisibleWhen, getVisibleWidth, getVSnapOrigin, getVSnapOrigin, 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, printComponents, provideRuleContext, provideRuleContext, redraw, redraw, removeChild, removeChild, removePeer, removePeer, removeSnapAlignCandidate, resizeAutoChildAttributes, resizeBy, resizeControls, resizeFonts, resizeFonts, resizeFonts, resizeIcons, resizeTo, resizeTo, revealChild, revealChild, scrollBy, scrollByPercent, scrollTo, scrollTo, scrollTo, scrollToBottom, scrollToLeft, scrollToPercent, scrollToRight, scrollToTop, sendToBack, setAccessKey, setAdaptHeightByCustomizer, setAdaptiveHeightPriority, setAdaptiveWidthPriority, setAdaptWidthByCustomizer, setAlign, setAllowExternalFilters, setAlwaysShowScrollbars, setAnimateAcceleration, setAnimateFadeTime, setAnimateHideAcceleration, setAnimateHideEffect, setAnimateHideTime, setAnimateMoveAcceleration, setAnimateMoveTime, setAnimateRectAcceleration, setAnimateRectTime, setAnimateResizeAcceleration, setAnimateResizeTime, setAnimateScrollAcceleration, setAnimateScrollTime, setAnimateShowAcceleration, setAnimateShowEffect, setAnimateShowTime, setAnimateTime, setAppImgDir, setAriaRole, setAriaState, setAutoChildConstructor, setAutoChildProperties, setAutoChildProperties, setAutoChildProperties, setAutoChildProperties, setAutoChildVisibility, setAutoHeight, setAutoMaskComponents, setAutoParent, setAutoResizeAutoChildAttributes, setAutoResizeIcons, setAutoShowParent, setAutoWidth, setBackgroundColor, setBackgroundImage, setBackgroundPosition, setBackgroundRepeat, setBorder, setBottom, setCanAcceptDrop, setCanAdaptHeight, setCanAdaptWidth, setCanDrag, setCanDragReposition, setCanDragResize, setCanDragScroll, setCanDrop, setCanDropBefore, setCanFocus, setCanHover, setCanSelectText, setChildren, setChildrenResizeSnapAlign, setChildrenSnapAlign, setChildrenSnapCenterAlign, setChildrenSnapEdgeAlign, setChildrenSnapResizeToGrid, setChildrenSnapToGrid, setComponentMaskDefaults, setContents, setContextMenu, setCursor, setDataPath, setDefaultHeight, setDefaultPageSpace, setDefaultProperties, setDefaultShowCustomScrollbars, setDefaultWidth, setDisabled, setDisabledCursor, setDisableTouchScrollingForDrag, setDoubleClickDelay, setDragAppearance, setDragIntersectStyle, setDragMaskType, setDragMaxHeight, setDragMaxWidth, setDragMinHeight, setDragMinWidth, setDragOpacity, setDragRepositionAppearance, setDragRepositionCursor, setDragResizeAppearance, setDragScrollDelay, setDragStartDistance, setDragTarget, setDragType, setDropTypes, setDropTypes, setDynamicContents, setEdgeBackgroundColor, setEdgeCenterBackgroundColor, setEdgeImage, setEdgeMarginSize, setEdgeOffset, setEdgeOpacity, setEdgeShowCenter, setEdgeSize, setEditMode, setEditMode, setEditMode, setEditProxyConstructor, setEnableWhen, setExtraSpace, setFacetId, setGroupBorderCSS, setGroupLabelBackgroundColor, setGroupLabelStyleName, setGroupTitle, setHeight, setHeight, setHeight, setHeight100, setHideUsingDisplayNone, setHoverAlign, setHoverAutoDestroy, setHoverAutoFitMaxWidth, setHoverAutoFitMaxWidth, setHoverAutoFitWidth, setHoverDelay, setHoverHeight, setHoverMoveWithMouse, setHoverOpacity, setHoverStyle, setHoverVAlign, setHoverWidth, setHoverWrap, setHtmlElement, setHtmlPosition, setImage, setImage, setInitHandler, setIsGroup, setIsRuleScope, setIsSnapAlignCandidate, setKeepInParentRect, setKeepInParentRect, setKeepInParentRect, setLayoutAlign, setLayoutAlign, setLeavePageSpace, setLeft, setLeft, setLocateChildrenBy, setLocateChildrenType, setLocatePeersBy, setLocatePeersType, setLogicalStructure, setMargin, setMatchElement, setMaxHeight, setMaxWidth, setMenuConstructor, setMinHeight, setMinNonEdgeSize, setMinWidth, setMomentumScrollMinSpeed, setMouseStillDownDelay, setMouseStillDownInitialDelay, setNeverUseFilters, setNoDoubleClicks, setNoDropCursor, setOpacity, setPadding, setPageLeft, setPageTop, setPanelContainer, setParentCanvas, setParentElement, setPeers, setPercentBox, setPercentSource, setPosition, setPrefix, setPrintChildrenAbsolutelyPositioned, 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, setShowResizeBar, setShowShadow, setShowSnapGrid, setShrinkElementOnHide, setSizeMayChangeOnRedraw, setSkinImgDir, setSmoothFade, setSnapAlignCandidates, setSnapAlignCenterLineStyle, setSnapAlignEdgeLineStyle, setSnapAxis, setSnapEdge, setSnapHDirection, setSnapHGap, setSnapOffsetLeft, setSnapOffsetTop, setSnapOnDrop, setSnapResizeToAlign, setSnapResizeToGrid, setSnapTo, setSnapToAlign, setSnapToCenterAlign, setSnapToEdgeAlign, setSnapToGrid, setSnapVDirection, setSnapVGap, setTabIndex, 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, 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 Detail

      • DocumentsTileGrid

        public DocumentsTileGrid​(GUIFolder folder,
                                 com.smartgwt.client.data.DataSource ds)
    • Method Detail

      • updateDocument

        public void updateDocument​(GUIDocument document)
        Description copied from interface: DocumentsGrid
        Updates the visualization of the proper document element
        Specified by:
        updateDocument in interface DocumentsGrid
        Parameters:
        document - the document to update
      • setDocuments

        public void setDocuments​(GUIDocument[] documents)
        Description copied from interface: DocumentsGrid
        Forces the records in the grid
        Specified by:
        setDocuments in interface DocumentsGrid
        Parameters:
        documents - array of documents to render
      • getSelectedDocument

        public GUIDocument getSelectedDocument()
        Description copied from interface: DocumentsGrid
        Gets a bean representation of the currently selected item (not all properties are populated)
        Specified by:
        getSelectedDocument in interface DocumentsGrid
        Returns:
        the first selected document
      • getSelectedDocuments

        public GUIDocument[] getSelectedDocuments()
        Description copied from interface: DocumentsGrid
        Gets a bean representation of the currently selected items (not all properties are populated)
        Specified by:
        getSelectedDocuments in interface DocumentsGrid
        Returns:
        the documents selected in the grid
      • getSelectedIndex

        public int getSelectedIndex()
        Description copied from interface: DocumentsGrid
        Retrieves the index of the currently selected record
        Specified by:
        getSelectedIndex in interface DocumentsGrid
        Returns:
        the row of the selected element
      • getSelectedIds

        public long[] getSelectedIds()
        Description copied from interface: DocumentsGrid
        Retrieves the list of all selected documents
        Specified by:
        getSelectedIds in interface DocumentsGrid
        Returns:
        identifiers of the selected documents
      • getIds

        public long[] getIds()
        Description copied from interface: DocumentsGrid
        Retrieves the list of all the ids
        Specified by:
        getIds in interface DocumentsGrid
        Returns:
        list of identifiers
      • getCount

        public int getCount()
        Description copied from interface: DocumentsGrid
        Counts the total number of elements
        Specified by:
        getCount in interface DocumentsGrid
        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 interface DocumentsGrid
        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 interface DocumentsGrid
        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 interface DocumentsGrid
        Parameters:
        docId - identifier of the document to display
      • setCanDrag

        public void setCanDrag​(boolean drag)
        Description copied from interface: DocumentsGrid
        Makes the grid support the drag
        Specified by:
        setCanDrag in interface DocumentsGrid
        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 interface DocumentsGrid
        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 interface DocumentsGrid
        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 interface DocumentsGrid
        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 interface DocumentsGrid
      • onDocumentModified

        public void onDocumentModified​(GUIDocument document)
        Description copied from interface: DocumentObserver
        Invoked after the document's properties has been changed
        Specified by:
        onDocumentModified in interface DocumentObserver
        Parameters:
        document - the document that has been modified
      • onDocumentsDeleted

        public void onDocumentsDeleted​(GUIDocument[] documents)
        Description copied from interface: DocumentObserver
        Invoked after the document has been deleted
        Specified by:
        onDocumentsDeleted in interface DocumentObserver
        Parameters:
        documents - the documents that have been deleted
      • destroy

        public void destroy()
        Specified by:
        destroy in interface DocumentsGrid
        Overrides:
        destroy in class com.smartgwt.client.widgets.BaseWidget
      • fetchNewData

        public void fetchNewData​(DocumentsDS ds)
        Description copied from interface: DocumentsGrid
        Replace the actual data with a new source
        Specified by:
        fetchNewData in interface DocumentsGrid
        Parameters:
        ds - the data source for the grid
      • setGridCursor

        public void setGridCursor​(Cursor gridCursor)
        Description copied from interface: DocumentsGrid
        Defines the cursor widget this grid will have to interact to
        Specified by:
        setGridCursor in interface DocumentsGrid
        Parameters:
        gridCursor - the cursor
      • loadGridLayout

        public void loadGridLayout​(GUIFolder folder)
        Description copied from interface: DocumentsGrid
        Loads the layout of the grid(columns, ordering ...)
        Specified by:
        loadGridLayout in interface DocumentsGrid
        Parameters:
        folder - Optional folder to take the layout from