public class TilesThumbView extends EmptyThumbView
Modifier and Type | Class and Description |
---|---|
private class |
TilesThumbView.TileIcon
This thumbnail that shows a file in Tiles Icons view.
|
Modifier and Type | Field and Description |
---|---|
private int |
H_GAP
The horizontal gap between two thumbnails.
|
private int |
ICON_HEIGHT
The constant height of the thumbnails.
|
private int |
ICON_WIDTH
The constant width of the thumbnails.
|
private int |
V_GAP
The vertical gap between two thumbnails.
|
files, gd, gf, listener
config
location, mousePtr, nativeInsets, physicalLocation
Constructor and Description |
---|
TilesThumbView() |
Modifier and Type | Method and Description |
---|---|
(package private) FileThumb |
createThumb(WidgetId id,
ButtonConfig cfg,
java.nio.file.Path path,
boolean isDir,
java.lang.String click2Command)
Factory method for creating file thumbnails depending on the current view.
|
void |
doLayout()
Lay out container.
|
ScrollBar.Bars |
getScrollBars()
Query the preferred scroll bars.
|
ScrollPaneGuiImpl.ShowBars |
getScrollType()
Query the preferred scroll types.
|
java.lang.String |
getViewName()
Obtain the name of this view.
|
appendSearchResult, draw, findDown, findFirst, findLeft, findRight, findUp, focusTraversable, locate, populate, setListener
ensureVisibility, ensureVisibility, getScrollDimension, processKeyEvent, setFocus, setScrollable, setVisible
getVisibleDimension, scroll
addScrollListener, afterConfigUpdate, config, getScrollStep, getViewport, initialize, isScrollPopupSupported, postScrollEvent
add, add, add, addContainerStateListener, addDirectly, belongsTo, checkWidget, childrenLocation, clipping, clipRectangle, copyState, currentFocus, currentFocus, cycleFocus, defaultFocus, destroy, detach, dimension, dumpCurrentWidgets, dumpWidgets, endSizeChange, findMouseSource, firstFocus, focus, focusWorker, formatDump, get, getClipRect, getEffectiveScrollableSize, getFocusInt, getIgnoreFocus, getLayout, getScrollableSize, getTabItemList, hasFocusable, height, insets, lastFocus, minimumSize, moveAfterTabItem, moveBeforeTabItem, moveToBottom, moveToBottomInClass, moveToTop, moveToTopInClass, moveToZpos, nextFocus, normalizeZOrder, onWidgetAdded, onWidgetRemoved, prepareWidgets, prevFocus, reflectAncestorChange, reflectLocationChange, remove, removeContainerStateListener, repaint, replace, requestFocus, setFocusInt, setHeight, setIgnoreFocus, setInsets, setLayout, setSize, setSize, setTabItemList, setWidth, startSizeChange, triggerContainerStateRedrawEnabled, unrealize, updateSizeWorker, widgets, widgetsAsList, width
_setHidden, _setVisible, activateDirectManipulation, addFocusListener, addKeyListener, afterConfigUpdateBase, ancestor, ancestorId, autoResize, bounds, clear, clearWidget, clipRectangle, clipRectangle, clipWith, copyColors, createMouseHoverAction, deactivateDirectManipulation, debug, disable, displayPhysicalLocation, drawCaret, enable, enclosingFrame, forceCursorOnFocus, forceVisibility, getActualBounds, getAndResetBitmap, getAndSetBitmap, getBitmapCopy, getCachedScreenLocation, getCachedScreenPhysicalLocation, getCustomMousePointer, getDefaultEvent, getEffectiveMousePointer, getId, getLoadedMousePointer, getMenuMouse, getMouseActions, getPortableMouseEventCoordinates, getSelectedText, getState, getTextHeight, getTextHeightNative, getTextWidth, getTextWidth, getTextWidthNative, getTextWidthNative, getVisiblePart, getZOrderClass, hasFocus, hidden, hide, highlighted, ignoreAction, isCurrent, isDirectManipulationCapable, isDirectManipulationRequired, isDisplayed, isEnabled, isFocusable, isHeader, isRealized, isRepaintDisabled, isRMBEntrySupported, isScreenLocationCached, isTabStop, isThreeD, isTotallyObscured, isVisible, isVisible, location, manageSystemActions, mouseActions, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved, moveToBottom, moveToTop, name, navigable, parent, parent, parentObject, parentOrSelf, parentOrSelfObject, physicalBounds, physicalDimension, physicalLocation, postprocessConfig, prepParentLocation, processDirectManipulationEvent, processEvent, processFocusEvent, processKeyListeners, processMnemonic, processMnemonicImpl, processSystemKey, raiseLegacyMouseEvents, refresh, registerWidgetStateListener, repaint, requestSync, resetBitmap, resizeTo, resolveFont, resolvePopupMenuId, resolveTitleFont, screen, screenDimension, screenHeight, screenLocation, screenPhysicalLocation, screenWidth, setBitmap, setCachedScreenLocation, setCachedScreenPhysicalLocation, setEnabled, setHidden, setHighlighted, setLocation, setLocation, setMousePointer, setParent, setPhysicalLocation, setState, show, showPopupMenu, supportsCustomMousePointer, sync, topLevelWindow, toString, translate, window
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addFocusListener, addKeyListener, ancestor, ancestorId, bounds, clearWidget, defaultMousePtr, destroy, dimension, displayPhysicalLocation, drawCaret, enclosingFrame, enforceDefaultMousePtr, findMouseSource, forceCursorOnFocus, forceVisibility, getActualBounds, getCustomMousePointer, getEffectiveMousePointer, getId, getLegacyWidget, getLoadedMousePointer, getMenuMouse, getMouseActions, getSelectedText, getState, getVisiblePart, getZOrderClass, hasFocus, height, hidden, hide, highlighted, insets, isCurrent, isDirectManipulable, isDisplayed, isDroppable, isEnabled, isFocusable, isHeader, isRealized, isRepaintDisabled, isRMBEntrySupported, isTabStop, isThreeD, isTotallyObscured, isVisible, isVisible, location, maySwitchFocus, minimumSize, moveToBottom, moveToTop, name, navigable, parent, parent, parentObject, parentOrSelf, parentOrSelfObject, physicalBounds, physicalDimension, physicalLocation, postprocessConfig, processDirectManipulationEvent, processEvent, processFocusEvent, processKeyListeners, processMnemonic, raiseLegacyMouseEvents, repaint, repaint, requestFocus, requestFocus, requestSync, resizeTo, resolvePopupMenuId, screen, screenLocation, screenPhysicalLocation, setEnabled, setHidden, setHighlighted, setLocation, setLocation, setMousePointer, setParent, setPhysicalLocation, setState, show, supportsCustomMousePointer, topLevelWindow, unrealize, width, window
private final int ICON_WIDTH
private final int ICON_HEIGHT
private final int H_GAP
private final int V_GAP
public ScrollPaneGuiImpl.ShowBars getScrollType()
getScrollType
in class EmptyThumbView
public ScrollBar.Bars getScrollBars()
getScrollBars
in class EmptyThumbView
FileThumb createThumb(WidgetId id, ButtonConfig cfg, java.nio.file.Path path, boolean isDir, java.lang.String click2Command)
createThumb
in class EmptyThumbView
id
- The widget's ID.cfg
- The widget's configuration.path
- The path this thumbnail represents.isDir
- Flags the thumbnails that represents directories.click2Command
- The action to be performed when the thumbnail is double clicked.public void doLayout()
doLayout
in interface Container<GuiOutputManager>
doLayout
in class AbstractContainer<GuiOutputManager>
public java.lang.String getViewName()
getViewName
in class EmptyThumbView