public class FileItem extends com.google.gwt.user.client.ui.FlexTable implements com.google.gwt.event.dom.client.HasAllMouseHandlers, IFileSummary
com.google.gwt.user.client.ui.FlexTable.FlexCellFormattercom.google.gwt.user.client.ui.HTMLTable.Cell, com.google.gwt.user.client.ui.HTMLTable.CellFormatter, com.google.gwt.user.client.ui.HTMLTable.ColumnFormatter, com.google.gwt.user.client.ui.HTMLTable.RowFormatter| Modifier and Type | Field and Description |
|---|---|
static String |
ANALYSIS_VIEW_SUFFIX |
static String |
URL_SUFFIX |
static String |
XACTION_SUFFIX |
| Constructor and Description |
|---|
FileItem(org.pentaho.gwt.widgets.client.filechooser.RepositoryFile repositoryFile,
FilesListPanel filesListPanel,
FileTypeEnabledOptions options,
boolean supportsACLs,
String fileIconStr) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFileSelectionChangedListener(IFileItemListener listener) |
com.google.gwt.event.shared.HandlerRegistration |
addMouseDownHandler(com.google.gwt.event.dom.client.MouseDownHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addMouseMoveHandler(com.google.gwt.event.dom.client.MouseMoveHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addMouseOutHandler(com.google.gwt.event.dom.client.MouseOutHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addMouseOverHandler(com.google.gwt.event.dom.client.MouseOverHandler handler) |
com.google.gwt.event.shared.HandlerRegistration |
addMouseUpHandler(com.google.gwt.event.dom.client.MouseUpHandler handler)
DND required methods below
|
com.google.gwt.event.shared.HandlerRegistration |
addMouseWheelHandler(com.google.gwt.event.dom.client.MouseWheelHandler handler) |
void |
deselect() |
void |
enableDrag() |
void |
fireFileSelectionEvent() |
String |
getIcon() |
Date |
getLastModifiedDate() |
String |
getLocalizedName() |
String |
getName() |
String |
getPath() |
org.pentaho.gwt.widgets.client.filechooser.RepositoryFile |
getRepositoryFile() |
String |
getURL() |
boolean |
isCommandEnabled(FileCommand.COMMAND command,
HashMap<String,String> metadataPerms) |
boolean |
isInTrash() |
FileItem |
makeDragProxy() |
void |
onBrowserEvent(com.google.gwt.user.client.Event event) |
void |
removeFileSelectionChangedListener(IFileItemListener listener) |
void |
select() |
void |
setDroppable(boolean canDrop) |
void |
setLastModifiedDate(Date lastModifiedDate) |
void |
setLocalizedName(String localizedName) |
void |
setName(String name) |
void |
setRepositoryFile(org.pentaho.gwt.widgets.client.filechooser.RepositoryFile repositoryFile) |
void |
setURL(String url) |
void |
toggleSelect(Boolean addSelection,
Boolean extendSelection) |
addCell, getCellCount, getFlexCellFormatter, getRowCount, insertCell, insertRow, prepareCell, prepareRow, removeAllRows, removeCell, removeCells, removeRowaddClickHandler, addDoubleClickHandler, addDragEndHandler, addDragEnterHandler, addDragHandler, addDragLeaveHandler, addDragOverHandler, addDragStartHandler, addDropHandler, addTableListener, checkCellBounds, checkRowBounds, clear, clear, clearCell, createCell, getBodyElement, getCellForEvent, getCellFormatter, getCellPadding, getCellSpacing, getColumnFormatter, getDOMCellCount, getDOMCellCount, getDOMRowCount, getDOMRowCount, getEventTargetCell, getHTML, getRowFormatter, getText, getWidget, insertCells, internalClearCell, isCellPresent, iterator, onEnsureDebugId, prepareColumn, remove, removeTableListener, setBorderWidth, setCellFormatter, setCellPadding, setCellSpacing, setColumnFormatter, setHTML, setHTML, setRowFormatter, setText, setWidget, setWidgetadd, add, adopt, adopt, disown, doAttachChildren, doDetachChildren, orphan, removeaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEventsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic static final String ANALYSIS_VIEW_SUFFIX
public static final String XACTION_SUFFIX
public static final String URL_SUFFIX
public FileItem(org.pentaho.gwt.widgets.client.filechooser.RepositoryFile repositoryFile,
FilesListPanel filesListPanel,
FileTypeEnabledOptions options,
boolean supportsACLs,
String fileIconStr)
public void select()
public void deselect()
public void onBrowserEvent(com.google.gwt.user.client.Event event)
onBrowserEvent in interface com.google.gwt.user.client.EventListeneronBrowserEvent in class com.google.gwt.user.client.ui.Widgetpublic boolean isCommandEnabled(FileCommand.COMMAND command, HashMap<String,String> metadataPerms)
public String getName()
getName in interface IFileSummarypublic void setName(String name)
public Date getLastModifiedDate()
public void setLastModifiedDate(Date lastModifiedDate)
public String getLocalizedName()
getLocalizedName in interface IFileSummarypublic void setLocalizedName(String localizedName)
public org.pentaho.gwt.widgets.client.filechooser.RepositoryFile getRepositoryFile()
public void setRepositoryFile(org.pentaho.gwt.widgets.client.filechooser.RepositoryFile repositoryFile)
public void fireFileSelectionEvent()
public void addFileSelectionChangedListener(IFileItemListener listener)
public void removeFileSelectionChangedListener(IFileItemListener listener)
public String getPath()
getPath in interface IFileSummarypublic String getURL()
public void setURL(String url)
public String getIcon()
public com.google.gwt.event.shared.HandlerRegistration addMouseUpHandler(com.google.gwt.event.dom.client.MouseUpHandler handler)
addMouseUpHandler in interface com.google.gwt.event.dom.client.HasMouseUpHandlerspublic com.google.gwt.event.shared.HandlerRegistration addMouseOutHandler(com.google.gwt.event.dom.client.MouseOutHandler handler)
addMouseOutHandler in interface com.google.gwt.event.dom.client.HasMouseOutHandlerspublic com.google.gwt.event.shared.HandlerRegistration addMouseMoveHandler(com.google.gwt.event.dom.client.MouseMoveHandler handler)
addMouseMoveHandler in interface com.google.gwt.event.dom.client.HasMouseMoveHandlerspublic com.google.gwt.event.shared.HandlerRegistration addMouseWheelHandler(com.google.gwt.event.dom.client.MouseWheelHandler handler)
addMouseWheelHandler in interface com.google.gwt.event.dom.client.HasMouseWheelHandlerspublic com.google.gwt.event.shared.HandlerRegistration addMouseOverHandler(com.google.gwt.event.dom.client.MouseOverHandler handler)
addMouseOverHandler in interface com.google.gwt.event.dom.client.HasMouseOverHandlerspublic com.google.gwt.event.shared.HandlerRegistration addMouseDownHandler(com.google.gwt.event.dom.client.MouseDownHandler handler)
addMouseDownHandler in interface com.google.gwt.event.dom.client.HasMouseDownHandlerspublic FileItem makeDragProxy()
public void enableDrag()
public void setDroppable(boolean canDrop)
public boolean isInTrash()
Copyright © 2021 Hitachi Vantara. All rights reserved.