java.lang.Object
de.grogra.pf.ui.UIToolkit
de.grogra.pf.ui.HeadlessToolkit
-
Field Summary
Fields inherited from class de.grogra.pf.ui.UIToolkit
ABOUT_ICON_SIZE, ALIGNMENT_CENTER, ALIGNMENT_LEADING, ALIGNMENT_TRAILING, CREATE_COMPONENT_WRAPPER_METHOD, EXPLORER_ACTION, FONT_BOLD, FONT_DIALOG, FONT_DIALOG_INPUT, FONT_ITALIC, FONT_MASK, FONT_MONOSPACED, FONT_PLAIN, FONT_SANS_SERIF, FONT_SERIF, FONT_SIZE_MASK, FOR_MENU, FORCE_DIMENSION, MEDIUM_ICON_SIZE, MENU_ICON_SIZE, TOOLBAR_ICON_SIZE, UPDATE_COMPONENT_WRAPPER_METHOD, WINDOW_ICON_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddComponent(Object container, Object component, Object constraints, int index) chooseFile(String title, FileFilter[] filters, int type, boolean mustExist, FileFilter selectedFilter, Context ctx, String sourcePath) createBooleanWidget(boolean forMenu, Map params) createButton(String text, IconSource source, Dimension size, int flags, Command cmd, Context ctx) createChartPanel(Context ctx, Map params) createChoiceWidget(ListModel list, boolean forMenu) createColorWidget(Map params) createComponentMenu(UITree componentTree) createComponentTree(UITree componentTree) createConsole(Context context, Map params) createContainer(float[] weights, int gap) createContainer(int gap) createContainer(int rows, int cols, int gap) createDisplayForProject(Context context, Item item) Create component that represent a displayable version of the description of a project file.createLabel(String text, IconSource icon, Dimension size, int flags) createLabeledComponent(Object component, Object label) createLogViewer(Context ctx, Map params) createNumericWidget(Type type, Quantity quantity, Map params) createPanel(Context ctx, Disposable toDispose, Map params) createScrollPane(Object view) createSplitContainer(int orientation) createStatusBar(Context context, Map params) createStringWidget(Map params) createTabbedPane(String[] titles, Object[] components) createTable(TableModel table, Context ctx) createTextEditor(Context context, Map params) createTextViewer(URL url, String mimeType, String content, Command hyperlink, boolean asBrowser) createToolBar(Context context, Map params) createTree(UITree tree) createTreeChoiceWidget(UITree tree) createTreeInSplit(UITree tree, Object split) createUITreeComponent(Object componentTree) createViewerPanel(Context ctx, URL url, Map params) createWindow(Command close, Map params) getComponent(Object container, int index) intgetComponentCount(Object container) intgetLocationOnScreen(Object component) intgetSelectedRow(ComponentWrapper table) getTable(ComponentWrapper table) getTextViewerComponent(Panel viewerPanel) intvoidhightliteContent(Object textViewer, String text) intvoidremoveComponent(Object component) voidvoidrevalidate(Object component) voidsetContent(Object textViewer, String mimeType, String content) voidsetContent(Object textViewer, URL content) voidsetDataHandlers(Object p, List<Item> h) voidsetLayout(Object component, LayoutManager layout) voidsetTransferHandler(Object p, Object h) voidshowPopupMenu(UITree menu, Object component, int x, int y) Methods inherited from class de.grogra.pf.ui.UIToolkit
addComponent, createAbout, createButton, createButton, createButton, createButton, createButton, createLabel, createLabel, createLabel, createLabel, createViewerPanel, dispose, get, getFirstMatching, getFirstMatching
-
Constructor Details
-
HeadlessToolkit
public HeadlessToolkit()
-
-
Method Details
-
createPanel
- Specified by:
createPanelin classUIToolkit
-
createConsole
- Specified by:
createConsolein classUIToolkit
-
createStatusBar
- Specified by:
createStatusBarin classUIToolkit
-
createWindow
- Specified by:
createWindowin classUIToolkit
-
createViewerPanel
- Specified by:
createViewerPanelin classUIToolkit
-
createTextEditor
- Specified by:
createTextEditorin classUIToolkit
-
createToolBar
- Specified by:
createToolBarin classUIToolkit
-
createTextViewer
public Object createTextViewer(URL url, String mimeType, String content, Command hyperlink, boolean asBrowser) - Specified by:
createTextViewerin classUIToolkit
-
setContent
- Specified by:
setContentin classUIToolkit
-
setContent
- Specified by:
setContentin classUIToolkit
-
createLabel
- Specified by:
createLabelin classUIToolkit
-
createButton
public Object createButton(String text, IconSource source, Dimension size, int flags, Command cmd, Context ctx) - Specified by:
createButtonin classUIToolkit
-
createLabeledComponent
- Specified by:
createLabeledComponentin classUIToolkit
-
createNumericWidget
- Specified by:
createNumericWidgetin classUIToolkit
-
createStringWidget
- Specified by:
createStringWidgetin classUIToolkit
-
createTreeChoiceWidget
- Specified by:
createTreeChoiceWidgetin classUIToolkit
-
createChoiceWidget
- Specified by:
createChoiceWidgetin classUIToolkit
-
createBooleanWidget
- Specified by:
createBooleanWidgetin classUIToolkit
-
createColorWidget
- Specified by:
createColorWidgetin classUIToolkit
-
createChartPanel
- Specified by:
createChartPanelin classUIToolkit
-
createScrollPane
- Specified by:
createScrollPanein classUIToolkit
-
createTabbedPane
- Specified by:
createTabbedPanein classUIToolkit
-
createContainer
- Specified by:
createContainerin classUIToolkit
-
createSplitContainer
- Specified by:
createSplitContainerin classUIToolkit
-
createContainer
- Specified by:
createContainerin classUIToolkit
-
createContainer
- Specified by:
createContainerin classUIToolkit
-
setBorder
-
addComponent
- Specified by:
addComponentin classUIToolkit
-
removeComponent
- Specified by:
removeComponentin classUIToolkit
-
getParent
-
indexOf
-
getComponentCount
- Specified by:
getComponentCountin classUIToolkit
-
getComponent
- Specified by:
getComponentin classUIToolkit
-
getLocationOnScreen
- Specified by:
getLocationOnScreenin classUIToolkit
-
getWidth
-
getHeight
-
revalidate
- Specified by:
revalidatein classUIToolkit
-
repaint
-
getTextViewerComponent
- Specified by:
getTextViewerComponentin classUIToolkit
-
createTree
- Specified by:
createTreein classUIToolkit
-
createComponentTree
- Specified by:
createComponentTreein classUIToolkit
-
createComponentMenu
- Specified by:
createComponentMenuin classUIToolkit
-
createTable
- Specified by:
createTablein classUIToolkit
-
getSelectedRow
- Specified by:
getSelectedRowin classUIToolkit
-
getTable
-
showPopupMenu
- Specified by:
showPopupMenuin classUIToolkit
-
createTreeInSplit
- Specified by:
createTreeInSplitin classUIToolkit
-
createUITreeComponent
- Specified by:
createUITreeComponentin classUIToolkit
-
setLayout
-
chooseFile
public FileChooserResult chooseFile(String title, FileFilter[] filters, int type, boolean mustExist, FileFilter selectedFilter, Context ctx, String sourcePath) - Overrides:
chooseFilein classUIToolkit
-
createDisplayForProject
Description copied from class:UIToolkitCreate component that represent a displayable version of the description of a project file. E.g. a gallery object.- Specified by:
createDisplayForProjectin classUIToolkit- Parameters:
context- The context of the panelitem- The uitree node that contains a project description- Returns:
-
createLogViewer
- Specified by:
createLogViewerin classUIToolkit
-
hightliteContent
- Specified by:
hightliteContentin classUIToolkit
-
setDataHandlers
- Specified by:
setDataHandlersin classUIToolkit
-
setTransferHandler
- Specified by:
setTransferHandlerin classUIToolkit
-