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
-
-
Field Summary
-
Fields inherited from interface com.logicaldoc.gui.frontend.client.document.grid.DocumentsGrid
MODE_GALLERY, MODE_LIST
-
-
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 selectionvoid
destroy()
void
expandVisibleRows()
Expands all visible rowsvoid
fetchNewData(DocumentsDS ds)
Replace the actual data with a new sourceint
getCount()
Counts the total number of elementsGUIDocument[]
getDocuments()
Retrieves all the documents dispalyed in the gridGUIFolder
getFolder()
Cursor
getGridCursor()
long[]
getIds()
Retrieves the list of all the idsint
getSelectedCount()
Counts the total number of selected elementsGUIDocument
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 documentsint
getSelectedIndex()
Retrieves the index of the currently selected recordvoid
loadGridLayout(GUIFolder folder)
Loads the layout of the grid(columns, ordering ...)void
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(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
removeSelectedDocuments()
Removed the selected documents from visualizationvoid
selectDocument(long docId)
Selects the specified documentvoid
setCanDrag(boolean drag)
Makes the grid support the dragvoid
setCanExpandRows()
Enable the records expansionvoid
setDocuments(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 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, 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, getAlwaysManageFocusNavigation, getAlwaysShowScrollbars, getAnimateAcceleration, getAnimateFadeTime, getAnimateHideAcceleration, getAnimateHideEffect, getAnimateHideTime, getAnimateMoveAcceleration, getAnimateMoveTime, getAnimateRectAcceleration, getAnimateRectTime, getAnimateResizeAcceleration, getAnimateResizeLayoutMode, 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, getCorrectZoomOverflow, 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, getEndLine, getEventEdge, getEventEdge, getExtraSpace, getFacetId, getFormItemAutoChild, getForwardSVGeventsToObject, 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, getLocatorName, getMargin, getMasterCanvas, getMasterElement, getMatchElement, getMaxHeight, getMaxWidth, getMaxZoomOverflowError, getMenuConstructor, getMinHeight, getMinNonEdgeSize, getMinWidth, getMomentumScrollMinSpeed, getMouseStillDownDelay, getMouseStillDownInitialDelay, getName, 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, 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, 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, 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, print, print, print, print, printComponents, provideRuleContext, provideRuleContext, redraw, redraw, registerFontScaledPaddingStyles, removeChild, removeChild, removePeer, removePeer, removeRuleContext, removeSnapAlignCandidate, resizeAutoChildAttributes, resizeBy, resizeControls, resizeFonts, resizeFonts, resizeFonts, 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, 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, setCorrectZoomOverflow, 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, setEndLine, setExtraSpace, setFacetId, setForwardSVGeventsToObject, 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, setLocatorName, setLogicalStructure, setMargin, setMatchElement, setMaxHeight, setMaxWidth, setMaxZoomOverflowError, setMenuConstructor, setMinHeight, setMinNonEdgeSize, setMinWidth, setMomentumScrollMinSpeed, setMouseStillDownDelay, setMouseStillDownInitialDelay, setName, setNeverUseFilters, setNoDoubleClicks, setNoDropCursor, setOpacity, setPadding, setPageLeft, setPageTop, setPanelContainer, setParentCanvas, setParentElement, setPeers, setPercentBox, setPercentSource, 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, 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, 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
-
-
-
-
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 interfaceDocumentsGrid
- 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 interfaceDocumentsGrid
- 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 interfaceDocumentsGrid
- 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 interfaceDocumentsGrid
- Returns:
- the documents selected in the grid
-
getDocuments
public GUIDocument[] getDocuments()
Description copied from interface:DocumentsGrid
Retrieves all the documents dispalyed in the grid- Specified by:
getDocuments
in interfaceDocumentsGrid
- Returns:
- the array of documents
-
getSelectedIndex
public int getSelectedIndex()
Description copied from interface:DocumentsGrid
Retrieves the index of the currently selected record- Specified by:
getSelectedIndex
in interfaceDocumentsGrid
- 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 interfaceDocumentsGrid
- 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 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
public void onDocumentSelected(GUIDocument document)
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
public void onDocumentModified(GUIDocument document)
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
public void onDocumentStored(GUIDocument document)
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
public void onDocumentsDeleted(GUIDocument[] documents)
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
public void onDocumentCheckedIn(GUIDocument document)
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
public void onDocumentCheckedOut(GUIDocument document)
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
public void onDocumentLocked(GUIDocument document)
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
public void onDocumentUnlocked(GUIDocument document)
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
public void onDocumentMoved(GUIDocument document)
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
-
getFolder
public GUIFolder getFolder()
- Specified by:
getFolder
in interfaceDocumentsGrid
-
destroy
public void destroy()
- Specified by:
destroy
in interfaceDocumentsGrid
- Overrides:
destroy
in classcom.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 interfaceDocumentsGrid
- 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 interfaceDocumentsGrid
- Parameters:
gridCursor
- the cursor
-
getGridCursor
public Cursor getGridCursor()
- Specified by:
getGridCursor
in interfaceDocumentsGrid
-
loadGridLayout
public void loadGridLayout(GUIFolder folder)
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
-
-