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.FlexCellFormatter
com.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, removeRow
addClickHandler, 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, setWidget
add, add, adopt, adopt, disown, doAttachChildren, doDetachChildren, orphan, remove
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
addStyleDependentName, 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, unsinkEvents
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public 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.EventListener
onBrowserEvent
in class com.google.gwt.user.client.ui.Widget
public boolean isCommandEnabled(FileCommand.COMMAND command, HashMap<String,String> metadataPerms)
public String getName()
getName
in interface IFileSummary
public void setName(String name)
public Date getLastModifiedDate()
public void setLastModifiedDate(Date lastModifiedDate)
public String getLocalizedName()
getLocalizedName
in interface IFileSummary
public 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 IFileSummary
public 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.HasMouseUpHandlers
public com.google.gwt.event.shared.HandlerRegistration addMouseOutHandler(com.google.gwt.event.dom.client.MouseOutHandler handler)
addMouseOutHandler
in interface com.google.gwt.event.dom.client.HasMouseOutHandlers
public com.google.gwt.event.shared.HandlerRegistration addMouseMoveHandler(com.google.gwt.event.dom.client.MouseMoveHandler handler)
addMouseMoveHandler
in interface com.google.gwt.event.dom.client.HasMouseMoveHandlers
public com.google.gwt.event.shared.HandlerRegistration addMouseWheelHandler(com.google.gwt.event.dom.client.MouseWheelHandler handler)
addMouseWheelHandler
in interface com.google.gwt.event.dom.client.HasMouseWheelHandlers
public com.google.gwt.event.shared.HandlerRegistration addMouseOverHandler(com.google.gwt.event.dom.client.MouseOverHandler handler)
addMouseOverHandler
in interface com.google.gwt.event.dom.client.HasMouseOverHandlers
public com.google.gwt.event.shared.HandlerRegistration addMouseDownHandler(com.google.gwt.event.dom.client.MouseDownHandler handler)
addMouseDownHandler
in interface com.google.gwt.event.dom.client.HasMouseDownHandlers
public FileItem makeDragProxy()
public void enableDrag()
public void setDroppable(boolean canDrop)
public boolean isInTrash()
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.