private class SmallIconsThumbView.SmallIcon extends FileThumb
ListThumbView, except that the thumbnails are distributed horizontally, on rows.
When the number of rows exceeds the available space, the user is required to scroll the view
vertically.ButtonGuiImpl.Imagescreated, fileSize, img, lastModifiedcc, DOT_LINE_WIDTH, gd, gf, imgUpconfig, widgetFocusedinsets, location, LOG, mousePtr, nativeInsets, physicalLocation| Constructor and Description |
|---|
SmallIcon(WidgetId id,
ButtonConfig cfg,
java.nio.file.Path path,
boolean isDir,
java.lang.String click2Command)
Constructor used to create component using given configuration.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
drawForeground(int width,
int height,
Theme theme)
Draws the text and icon on this thumbnail.
|
protected NativeDimension |
getEditorDimension()
Obtain the dimension of the editor that when renaming this thumbnail.
|
protected NativePoint |
getEditorLocation()
Obtain the physical location of the editor that when renaming this thumbnail.
|
int |
getPreferredWidth()
Query the preferred width of this thumbnail.
|
(package private) java.lang.String |
getTooltip()
Obtain the tooltip to be displayed when hovering this thumbnail.
|
clearSelection, draw, getDoubleClickCommand, getFileIcon, getPath, getPreferredHeight, getSelected, handleBasicEvents, isDir, isDoubleClick, isSelected, mouseClicked, select, setFileInfo, startRename, toStringafterConfigUpdate, createMnemonic, focusTraversable, getFontResolver, getImgDisabled, getImgDown, getImgUp, handleCursorKeys, height, highlighted, initialize, isAutoResize, isDefaultButton, isDroppable, isFocusable, isKeyPressed, isMnemonicSupported, isPressed, isResolverColorsUsed, loadImage, onFocusLost, physicalBounds, processEvent, processMnemonic, refresh, requestFocus, setActionCode, setColorResolver, setFontResolver, setImage, setImage, setResolverColorsUsed, setVisible, supportsCustomMousePointer, updateSize, widthisMouseOver, mouseActions, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleasedaddListener, checkKey, config, destroy, getColon, getColumnLabelText, getCommand, getLabelInstance, getLabelText, getMnemonic, getTo, initButtonText, isForceLabel, isNoLabels, isRightAligned, postprocessConfig, processKeyEvent, setCommand, setHidden, setLabelInstance, setMnemonic, setNoLabels, setSupportsMnemonic, setText, setTextLabel, setWasVisible, textLabel, wasVisibledimension, forceCursorOnFocus, getDefaultEvent, ignoreAction, manageSystemActions, minimumSize, onFocusGained, onKeyPressed, onKeyTyped, processKeyEventCommon_setHidden, _setVisible, activateDirectManipulation, addFocusListener, addKeyListener, afterConfigUpdateBase, ancestor, ancestorId, autoResize, bounds, clear, clearWidget, clipRectangle, clipRectangle, clipWith, copyColors, copyState, createMouseHoverAction, deactivateDirectManipulation, debug, disable, disableTooltip, displayPhysicalLocation, drawCaret, enable, enableTooltip, enclosingFrame, findMouseSource, forceVisibility, getActualBounds, getAndResetBitmap, getAndSetBitmap, getBitmapCopy, getCachedScreenLocation, getCachedScreenPhysicalLocation, getCustomMousePointer, getEffectiveMousePointer, getId, getLoadedMousePointer, getMenuMouse, getMouseActions, getMousePosition, getPortableMouseEventCoordinates, getSelectedText, getState, getTextHeight, getTextHeightNative, getTextHeightNative, getTextWidth, getTextWidth, getTextWidthNative, getTextWidthNative, getVisiblePart, getZOrderClass, hasFocus, hasTooltip, hidden, hide, initialHeight, initialWidth, insets, isCurrent, isDirectManipulationActive, isDirectManipulationActiveOrInUIB, isDirectManipulationCapable, isDirectManipulationRequired, isDisplayed, isEnabled, isHeader, isMouseDrag, isRealized, isRepaintDisabled, isRMBEntrySupported, isScreenLocationCached, isTabStop, isThreeD, isTotallyObscured, isVisible, isVisible, location, mouseWheelMoved, moveToBottom, moveToTop, name, navigable, oleDoDrop, oleDrag, oleDragging, oleStartDragging, onOleDragging, onOleDropEnd, parent, parent, parentObject, parentOrSelf, parentOrSelfObject, physicalDimension, physicalLocation, prepParentLocation, preventFocusWhenMouseDownEventDefined, processDirectManipulationEvent, processFocusEvent, processKeyEventForSelectableWidget, processKeyListeners, processMnemonicImpl, processSystemKey, raiseLegacyMouseEvents, reflectAncestorChange, reflectLocationChanged, reflectSizeChanged, refresh, registerWidgetListener, repaint, repaint, repaint, requestFocus, requestSync, resetBitmap, resizeTo, resolveFont, resolvePopupMenuId, resolveTitleFont, screen, screenDimension, screenHeight, screenLocation, screenPhysicalLocation, screenWidth, setBitmap, setCachedScreenLocation, setCachedScreenPhysicalLocation, setDirectManipulationActive, setEnabled, setHighlighted, setLocation, setLocation, setMousePointer, setMousePointer, setParent, setPhysicalDimensionInt, setPhysicalLocation, setSensitiveForUIB, setState, setWindow, show, showPopupMenu, sync, topLevelWindow, translate, triggerLocationChanged, unrealize, unregisterWidgetListener, updateSizeWorker, updateSystemParent, widgetRealized, widgetStateChanged, windowclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitacceptsEscAsAnyKey, acceptTrigger, addFocusListener, addKeyListener, ancestor, ancestorId, bounds, canMovetoTop, clearWidget, completeTrigger, defaultMousePtr, dimension, displayPhysicalLocation, drawCaret, enclosingFrame, enforceDefaultMousePtr, findMouseSource, forceCursorOnFocus, forceVisibility, getActualBounds, getCustomMousePointer, getEffectiveMousePointer, getId, getIdForTrigger, getLegacyWidget, getLoadedMousePointer, getMenuMouse, getMouseActions, getMousePosition, getSelectedText, getState, getTriggerWidget, getTriggerWidget, getVisiblePart, getZOrderClass, hasFocus, hasFocus, hasTooltip, hidden, hide, ignoreEnable, initialHeight, initialWidth, insets, isCurrent, isCurrent, isDirectManipulable, isDirectManipulationActive, isDirectManipulationActiveOrInUIB, isDisplayed, isEnabled, isHeader, isInitialValueLayout, isLegacyFocus, isProcessProgressEvent, isRealized, isRepaintDisabled, isRMBEntrySupported, isTabStop, isThreeD, isTotallyObscured, isVisible, isVisible, location, maySwitchFocus, minimumSize, moveToBottom, moveToTop, name, navigable, oleDrag, parent, parent, parent, parentObject, parentOrSelf, parentOrSelfObject, physicalDimension, physicalLocation, preventFocusWhenMouseDownEventDefined, processDirectManipulationEvent, processFocusEvent, processKeyListeners, raiseLegacyMouseEvents, refreshWidget, registerWidgetListener, repaint, repaint, repaint, requestFocus, requestFocus, requestSync, resizeTo, resolvePopupMenuId, screen, screenLocation, screenPhysicalLocation, setDirectManipulationActive, setEnabled, setHighlighted, setLocation, setLocation, setMousePointer, setMousePointer, setParent, setPhysicalLocation, setSensitiveForUIB, setState, setWindow, show, startTrigger, systemFocusGrabbed, topLevelWindow, unrealize, unregisterWidgetListener, validateDisplayValue, widgetStateChanged, windowgetColumnMnemonic, getMnemonicCharacter, getMnemonicKeyCode, getMnemonicLabel, setColumnMnemonic, updateMnemonicSmallIcon(WidgetId id, ButtonConfig cfg, java.nio.file.Path path, boolean isDir, java.lang.String click2Command)
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.protected void drawForeground(int width,
int height,
Theme theme)
drawForeground in class FileThumbwidth - The width of the widgetheight - The height of the widget.theme - The current theme.public int getPreferredWidth()
getPreferredWidth in class FileThumbjava.lang.String getTooltip()
getTooltip in class FileThumbprotected NativeDimension getEditorDimension()
getEditorDimension in class FileThumbprotected NativePoint getEditorLocation()
getEditorLocation in class FileThumb