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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Clear the actual selection
    void
     
    void
    Expands all visible rows
    void
    Replace the actual data with a new source
    int
    Counts the total number of elements
    Retrieves all the documents dispalyed in the grid
     
     
    Retrieves the list of all the ids
    int
    Counts the total number of selected elements
    Gets 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 IDs
    int
    Retrieves the index of the currently selected rec
    int
    Loads the layout of the grid(columns, ordering ...)
    void
    Invoked after the document's properties are being edited
    void
    Invoked after the document's properties are being edited
    void
    Invoked after the document's checkin
    void
    Invoked after the document's checkout
    void
    Invoked after the document is locked
    void
    Invoked after the document's properties has been changed
    void
    Invoked after the document has been stored
    void
    Invoked after the document has been deleted
    void
    Invoked when a document is selected
    void
    Invoked after the document has been stored
    void
    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
    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
    Enable the records expansion
    void
    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
    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, 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 class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.smartgwt.client.widgets.DataBoundComponent

    getOrCreateJsObj

    Methods inherited from interface com.google.gwt.event.shared.HasHandlers

    fireEvent
  • Constructor Details

    • DocumentsTileGrid

      public DocumentsTileGrid(GUIFolder folder)
  • Method Details

    • 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(List<GUIDocument> documents)
      Description copied from interface: DocumentsGrid
      Forces the records in the grid
      Specified by:
      setDocuments in interface DocumentsGrid
      Parameters:
      documents - collectiomn 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 List<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
    • getDocuments

      public List<GUIDocument> getDocuments()
      Description copied from interface: DocumentsGrid
      Retrieves all the documents dispalyed in the grid
      Specified by:
      getDocuments in interface DocumentsGrid
      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 interface DocumentsGrid
      Returns:
      the row of the selected element
    • getSelectedIds

      public List<Long> getSelectedIds()
      Description copied from interface: DocumentsGrid
      Retrieves the list of all selected document IDs
      Specified by:
      getSelectedIds in interface DocumentsGrid
      Returns:
      identifiers of the selected documents
    • getIds

      public List<Long> getIds()
      Description copied from interface: DocumentsGrid
      Retrieves the list of all the ids
      Specified by:
      getIds in interface DocumentsGrid
      Returns:
      list of identifiers
    • deselectAll

      public void deselectAll()
      Description copied from interface: DocumentsGrid
      Clear the actual selection
      Specified by:
      deselectAll in interface DocumentsGrid
    • setCanExpandRows

      public void setCanExpandRows()
      Description copied from interface: DocumentsGrid
      Enable the records expansion
      Specified by:
      setCanExpandRows in interface DocumentsGrid
    • 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
    • expandVisibleRows

      public void expandVisibleRows()
      Description copied from interface: DocumentsGrid
      Expands all visible rows
      Specified by:
      expandVisibleRows in interface DocumentsGrid
    • 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
    • removeSelectedDocuments

      public void removeSelectedDocuments()
      Description copied from interface: DocumentsGrid
      Removed the selected documents from visualization
      Specified by:
      removeSelectedDocuments in interface DocumentsGrid
    • onDocumentSelected

      public void onDocumentSelected(GUIDocument document)
      Description copied from interface: DocumentObserver
      Invoked when a document is selected
      Specified by:
      onDocumentSelected in interface DocumentObserver
      Parameters:
      document - the document that has been selected
    • 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
    • onDocumentStored

      public void onDocumentStored(GUIDocument document)
      Description copied from interface: DocumentObserver
      Invoked after the document has been stored
      Specified by:
      onDocumentStored in interface DocumentObserver
      Parameters:
      document - the document that has been stored
    • onDocumentsDeleted

      public void onDocumentsDeleted(List<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
    • onDocumentCheckedIn

      public void onDocumentCheckedIn(GUIDocument document)
      Description copied from interface: DocumentObserver
      Invoked after the document's checkin
      Specified by:
      onDocumentCheckedIn in interface DocumentObserver
      Parameters:
      document - the document that has been checked in
    • onDocumentCheckedOut

      public void onDocumentCheckedOut(GUIDocument document)
      Description copied from interface: DocumentObserver
      Invoked after the document's checkout
      Specified by:
      onDocumentCheckedOut in interface DocumentObserver
      Parameters:
      document - the document that has been checked out
    • onDocumentLocked

      public void onDocumentLocked(GUIDocument document)
      Description copied from interface: DocumentObserver
      Invoked after the document is locked
      Specified by:
      onDocumentLocked in interface DocumentObserver
      Parameters:
      document - the document that has been locked
    • onDocumentUnlocked

      public void onDocumentUnlocked(GUIDocument document)
      Description copied from interface: DocumentObserver
      Invoked after the document is unlocked
      Specified by:
      onDocumentUnlocked in interface DocumentObserver
      Parameters:
      document - the document that has been unlocked
    • onDocumentMoved

      public void onDocumentMoved(GUIDocument document)
      Description copied from interface: DocumentObserver
      Invoked after the document has been stored
      Specified by:
      onDocumentMoved in interface DocumentObserver
      Parameters:
      document - the document that has been moved
    • onDocumentBeginEditing

      public void onDocumentBeginEditing(GUIDocument document)
      Description copied from interface: DocumentObserver
      Invoked after the document's properties are being edited
      Specified by:
      onDocumentBeginEditing in interface DocumentObserver
      Parameters:
      document - the document that is being edited
    • onDocumentCancelEditing

      public void onDocumentCancelEditing(GUIDocument document)
      Description copied from interface: DocumentObserver
      Invoked after the document's properties are being edited
      Specified by:
      onDocumentCancelEditing in interface DocumentObserver
      Parameters:
      document - the document that is being edited
    • getFolder

      public GUIFolder getFolder()
      Specified by:
      getFolder in interface DocumentsGrid
    • 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
    • getGridCursor

      public Cursor getGridCursor()
      Specified by:
      getGridCursor in interface DocumentsGrid
    • loadGridLayout

      public int 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
      Returns:
      the page size