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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addComponent
(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) int
getComponentCount
(Object container) int
getLocationOnScreen
(Object component) int
getSelectedRow
(ComponentWrapper table) getTable
(ComponentWrapper table) getTextViewerComponent
(Panel viewerPanel) int
void
hightliteContent
(Object textViewer, String text) int
void
removeComponent
(Object component) void
void
revalidate
(Object component) void
setContent
(Object textViewer, String mimeType, String content) void
setContent
(Object textViewer, URL content) void
setLayout
(Object component, LayoutManager layout) void
showPopupMenu
(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:
createPanel
in classUIToolkit
-
createConsole
- Specified by:
createConsole
in classUIToolkit
-
createStatusBar
- Specified by:
createStatusBar
in classUIToolkit
-
createWindow
- Specified by:
createWindow
in classUIToolkit
-
createViewerPanel
- Specified by:
createViewerPanel
in classUIToolkit
-
createTextEditor
- Specified by:
createTextEditor
in classUIToolkit
-
createToolBar
- Specified by:
createToolBar
in classUIToolkit
-
createTextViewer
public Object createTextViewer(URL url, String mimeType, String content, Command hyperlink, boolean asBrowser) - Specified by:
createTextViewer
in classUIToolkit
-
setContent
- Specified by:
setContent
in classUIToolkit
-
setContent
- Specified by:
setContent
in classUIToolkit
-
createLabel
- Specified by:
createLabel
in classUIToolkit
-
createButton
public Object createButton(String text, IconSource source, Dimension size, int flags, Command cmd, Context ctx) - Specified by:
createButton
in classUIToolkit
-
createLabeledComponent
- Specified by:
createLabeledComponent
in classUIToolkit
-
createNumericWidget
- Specified by:
createNumericWidget
in classUIToolkit
-
createStringWidget
- Specified by:
createStringWidget
in classUIToolkit
-
createTreeChoiceWidget
- Specified by:
createTreeChoiceWidget
in classUIToolkit
-
createChoiceWidget
- Specified by:
createChoiceWidget
in classUIToolkit
-
createBooleanWidget
- Specified by:
createBooleanWidget
in classUIToolkit
-
createColorWidget
- Specified by:
createColorWidget
in classUIToolkit
-
createChartPanel
- Specified by:
createChartPanel
in classUIToolkit
-
createScrollPane
- Specified by:
createScrollPane
in classUIToolkit
-
createTabbedPane
- Specified by:
createTabbedPane
in classUIToolkit
-
createContainer
- Specified by:
createContainer
in classUIToolkit
-
createSplitContainer
- Specified by:
createSplitContainer
in classUIToolkit
-
createContainer
- Specified by:
createContainer
in classUIToolkit
-
createContainer
- Specified by:
createContainer
in classUIToolkit
-
setBorder
-
addComponent
- Specified by:
addComponent
in classUIToolkit
-
removeComponent
- Specified by:
removeComponent
in classUIToolkit
-
getParent
-
indexOf
-
getComponentCount
- Specified by:
getComponentCount
in classUIToolkit
-
getComponent
- Specified by:
getComponent
in classUIToolkit
-
getLocationOnScreen
- Specified by:
getLocationOnScreen
in classUIToolkit
-
getWidth
-
getHeight
-
revalidate
- Specified by:
revalidate
in classUIToolkit
-
repaint
-
getTextViewerComponent
- Specified by:
getTextViewerComponent
in classUIToolkit
-
createTree
- Specified by:
createTree
in classUIToolkit
-
createComponentTree
- Specified by:
createComponentTree
in classUIToolkit
-
createComponentMenu
- Specified by:
createComponentMenu
in classUIToolkit
-
createTable
- Specified by:
createTable
in classUIToolkit
-
getSelectedRow
- Specified by:
getSelectedRow
in classUIToolkit
-
getTable
-
showPopupMenu
- Specified by:
showPopupMenu
in classUIToolkit
-
createTreeInSplit
- Specified by:
createTreeInSplit
in classUIToolkit
-
createUITreeComponent
- Specified by:
createUITreeComponent
in classUIToolkit
-
setLayout
-
chooseFile
public FileChooserResult chooseFile(String title, FileFilter[] filters, int type, boolean mustExist, FileFilter selectedFilter, Context ctx, String sourcePath) - Overrides:
chooseFile
in classUIToolkit
-
createDisplayForProject
Description copied from class:UIToolkit
Create component that represent a displayable version of the description of a project file. E.g. a gallery object.- Specified by:
createDisplayForProject
in classUIToolkit
- Parameters:
context
- The context of the panelitem
- The uitree node that contains a project description- Returns:
-
createLogViewer
- Specified by:
createLogViewer
in classUIToolkit
-
hightliteContent
- Specified by:
hightliteContent
in classUIToolkit
-