|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectewe.ui.ControlBase
ewe.ui.Control
ewe.ui.Container
ewe.ui.Canvas
ewe.ui.Panel
ewe.ui.CellPanel
ewe.ui.FormBase
ewe.ui.Form
ewe.ui.Editor
ewe.filechooser.FileChooserBase
ewe.filechooser.FileChooser
ewe.filechooser.ImageFileChooser
| Field Summary | |
static int |
imageSizeLimit
This is the maximum size of an image to preview or get in bytes. |
| Fields inherited from class ewe.filechooser.FileChooser |
afile, defaultExtension, detailMode, dirNavigation, drives, extraPanel, file, files, fileType, goBackMenu, goForwardMenu, iconMode, links, listMode, listModeDefault, mask, noKeyboard, noMouse, persistentHistoryKey, showWait, slowAccess, table, time, toolField, tree |
| Fields inherited from class ewe.filechooser.FileChooserBase |
ACCEPT_ANY, allFilesMask, allowFileViewing, BROWSE, chosenDirectory, chosenFiles, computer, DESKTOP_VERSION, desktopWide, DIRECTORY_SELECT, DIRECTORY_TREE, DONT_SHOW_FILE_EXTENSION, drive, EMBEDDED, EXPLORER_TYPE, EXTRA_CONTROL, FILE_MUST_EXIST, folderUp, globalLinks, handHeld, history, historyDirectoriesOnly, historySize, INSTALL_SELECT, lastOptions, LAUNCHER_TYPE, MULTI_SELECT, NO_CONFIRM_OVERWRITE, NO_DIRECTORY_CHANGE, NO_EXECUTE, NO_WRITING, OPEN, palm, QUICK_SELECT, READ_ONLY, SAVE, toolButtons, wideScreen |
| Fields inherited from class ewe.ui.Editor |
coroutineStackSize, currentEvent, DoDataTransfer, fieldListeners, fieldsWillNotBeAdded, myObject, objectClass, sampleObject, transfers |
| Fields inherited from class ewe.ui.FormBase |
BACKB, CANCELB, close, cross, defaultShowOptions, DEFCANCELB, DEFOKB, EXIT_IDBACK, EXIT_IDCANCEL, EXIT_IDNO, EXIT_IDOK, EXIT_IDYES, IDBACK, IDCANCEL, IDNO, IDOK, IDYES, MBB, MBNONE, MBOK, MBOKCANCEL, MBYESNO, MBYESNOCANCEL, NOB, OKB, stop, tick, tools, YESB |
| Fields inherited from class ewe.ui.CellPanel |
autoSpan, equalHeights, equalWidths, layout, mySplitter, nextSplitter, quickRecalculate |
| Fields inherited from class ewe.ui.Panel |
all, backgroundImage, calculated, childListeners, defaultAddToMeCellConstraints, defaultTags, grid, lastAdded, layoutManager, made, noInsets, stretchFirstColumn, stretchFirstRow, stretchLastColumn, stretchLastRow, titleGap |
| Fields inherited from class ewe.ui.Canvas |
isFullScrollClient, origin, scrollPercent, virtualSize |
| Fields inherited from class ewe.ui.Container |
closedFocus, cycleFocus, dontAutoScroll, dontFocusOnChildren |
| Fields inherited from class ewe.ui.Control |
_debug, backGround, beforeRemoved, borderColor, borderStyle, borderWidth, children, columns, constraints, DoPaintMethod, dragging, dragResolution, dragTime, exitKeys, fieldTransfer, font, foreGround, haveNativePaint, height, holdDownPause, holdTick, hotKey, image, lastSelected, listeners, maxHeight, maxWidth, menuState, minHeight, minWidth, modifiers, MyClass, name, next, np, penStatus, popupSound, popupSoundClip, preferredHeight, preferredWidth, prev, prompt, promptControl, rows, ss, standardBorder, standardEdge, startDragResolution, tags, tail, text, toolTip, width, x, y |
| Fields inherited from class ewe.ui.ControlBase |
clipItems, clipObject, clipOwner, curPoint, currentPenEvent, debugControl, debugFlag, DidHoldDown, doubleBuffer, doubleClickTime, firstPress, globalDrawFlat, globalEditable, globalEnabled, globalPalmStyle, globalSmallControls, GotPenDown, PenIsOn, pressPoint, TAG_LAST_USER_DATA, TAG_USER_DATA, TAKE_FIRST_PRESS, unnamed, useNativeTextInput |
| Fields inherited from interface ewe.ui.CellConstants |
BORDER, BOTTOM, CELLFLAG, CELLMASK, CENTER, CONTROLMASK, DONTCHANGE, DONTFILL, DONTSTRETCH, EAST, FILL, FIXEDSIZE, GROW, HCENTER, HCONTRACT, HEXPAND, HFILL, HGROW, HSHRINK, HSTRETCH, INITIALLY_CLOSED, INITIALLY_MINIMIZED, INITIALLY_PREFERRED_SIZE, INSETS, LEFT, MAXIMUMSIZE, MINIMUMSIZE, NORTH, NORTHEAST, NORTHWEST, PREFERREDSIZE, RECT, RIGHT, SHRINK, SOUTH, SOUTHEAST, SOUTHWEST, SPAN, STRETCH, TEXTSIZE, TOP, VCENTER, VCONTRACT, VEXPAND, VFILL, VGROW, VSHRINK, VSTRETCH, WEST |
| Fields inherited from interface ewe.ui.IScroll |
Higher, Horizontal, Lower, OPTION_INDICATOR_ONLY, PageHigher, PageLower, ScrollHigher, ScrollLower, TrackTo, Vertical |
| Fields inherited from interface ewe.ui.UIConstants |
BDR_DOTTED, BDR_INNER, BDR_NOBORDER, BDR_OUTER, BDR_OUTLINE, BDR_RAISEDINNER, BDR_RAISEDOUTER, BDR_SUNKENINNER, BDR_SUNKENOUTER, BF_BOTTOM, BF_BOTTOMLEFT, BF_BOTTOMRIGHT, BF_BUTTON, BF_DIAGONAL, BF_DIAGONAL_ENDBOTTOMLEFT, BF_DIAGONAL_ENDBOTTOMRIGHT, BF_DIAGONAL_ENDTOPLEFT, BF_DIAGONAL_ENDTOPRIGHT, BF_EXACT, BF_FLAT, BF_LEFT, BF_MIDDLE, BF_MONO, BF_PALM, BF_RECT, BF_RIGHT, BF_SOFT, BF_SQUARE, BF_TOP, BF_TOPLEFT, BF_TOPRIGHT, EDGE_BUMP, EDGE_ETCHED, EDGE_RAISED, EDGE_SUNKEN |
| Fields inherited from interface ewe.ui.ControlConstants |
All, AlwaysEnabled, AlwaysRecalculateSizes, ByDeferredMouse, ByDeferredPen, ByFrameChange, ByKeyboard, ByMouse, ByPen, ByRequest, CalculatedSizes, Disabled, DisablePopupMenu, DisplayOnly, Down, DrawFlat, Flag, ForceResize, HasData, Invisible, KeepImage, KeepSIP, Left, MakeMenuAtLeastAsWide, Maximize, Minimize, MouseSensitive, NoFocus, NotAnEditor, NotEditable, PaintDataOnly, PaintOutsideOnly, PenTransparent, PreferredSizeOnly, Right, SendUpKeyEvents, SendUpPenEvents, ShowSIP, ShrinkToNothing, SmallControl, SpecialBackground, TakeControlEvents, TakesKeyFocus, Transparent, Up, WantDrag, WantHoldDown |
| Fields inherited from interface ewe.fx.ImageRefresher |
KEEP_VISIBLE |
| Constructor Summary | |
ImageFileChooser()
|
|
ImageFileChooser(int type,
String initial)
|
|
ImageFileChooser(int type,
String initial,
File aFileModel)
|
|
| Method Summary | |
IImage |
getChosenImage(boolean limitedSize)
This can be called after the user has selected a file. |
IImage[] |
getChosenImages(boolean limitedSize)
This can be called after the user has selected a file or files. |
static IImage |
getImage(File f,
boolean limitedSize)
|
static IImage |
getImage(File f,
int width,
int height,
boolean limitedSize,
Dimension trueSize)
|
static IImage |
getImage(String title,
String initial,
boolean limitedSize)
This will execute an ImageFileChooser and return the chosen image. |
protected void |
newFileSelected(File f)
This gets called when a new file has been clicked or entered. |
void |
resizeTo(int width,
int height)
This will change the width and height values. |
| Methods inherited from class ewe.filechooser.FileChooser |
action, addLink, addMask, addToSavedHistory, askClassName, associateIcon, canExit, checkLength, checkMenu, close, deletePressed, dirUp, doHotKey, doNewShortcut, doPaste, exit, fieldChanged, fieldEvent, fixMask, getAllChosen, getAllChosenFiles, getChosen, getChosenDirectory, getChosenFile, getIconForFile, getMaskList, getViewToolBar, lengthToDisplay, main, masksChanged, newFileInfo, refresh, retrieveApplicationHistory, runFile, setFile, setFile, setHistory, setOptions, showError, showError, shown, storeApplicationHistory, switchMultiSelect |
| Methods inherited from class ewe.ui.CellPanel |
calculateSizes, makeLayoutGrid, relayout, relayoutMe, removeAll, reShow, resize |
| Methods inherited from class ewe.ui.Panel |
add, addChildListener, addDirectly, addLast, addLast, addNext, addNext, addNext, doBackground, doBorder, endRow, getControlTag, getPreferredSize, getSubControls, isEmpty, layout, remove, removeChildListener, sendToChildListeners, setText |
| Methods inherited from class ewe.ui.Canvas |
canGo, canScreenScroll, checkScrolls, doScroll, fixOrigin, getActual, getBuffer, getCurrent, getDisplayedSize, getMySize, getPercent, getScrollablePanel, getScrollClient, getVisible, getVisibleArea, needScrollBar, onScroll, onSetOrigin, reduceClip, scroll, scroll, scrollToVisible, setOrigin, updateScrollServer |
| Methods inherited from class ewe.ui.Container |
_paintChildren, add, containerHasFocus, dismantle, findChild, focusFirst, focusFirst, focusOnContainer, focusOnData, getChildren, getChildrenBackwards, getNextKeyFocus, gotFocus, lostFocus, repaintDataNow, takeFocus, takePromptControl |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode |
| Methods inherited from interface ewe.ui.ScrollClient |
getServer, setServer |
| Field Detail |
public static int imageSizeLimit
| Constructor Detail |
public ImageFileChooser()
public ImageFileChooser(int type,
String initial)
public ImageFileChooser(int type,
String initial,
File aFileModel)
| Method Detail |
public void resizeTo(int width,
int height)
Control
resizeTo in class CellPanelprotected void newFileSelected(File f)
FileChooser
newFileSelected in class FileChooser
public static IImage getImage(File f,
boolean limitedSize)
public static IImage getImage(File f,
int width,
int height,
boolean limitedSize,
Dimension trueSize)
public static IImage getImage(String title,
String initial,
boolean limitedSize)
title - The title for the displayed ImageFileChooserinitial - The intial directory - may be null.limitedSize - true to limit the size of the image to half a megabyte.
public IImage getChosenImage(boolean limitedSize)
public IImage[] getChosenImages(boolean limitedSize)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||