java.lang.Object
de.grogra.pf.ui.UIToolkit
de.grogra.pf.ui.awt.AWTToolkitBase
de.grogra.pf.ui.swing.SwingToolkit
- All Implemented Interfaces:
XAListener,WindowListener,EventListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.grogra.persistence.XAListener
XAListener.WeakDelegate -
Field Summary
FieldsFields 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 TypeMethodDescriptioncreateBooleanWidget(boolean forMenu, Map params) createButton(String text, IconSource icon, 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 ctx, Map params) protected ContainercreateContainer(LayoutManager layout) createDisplayForProject(Context context, Item item) create a displayable panel based on a html template that presents the description of a project as well as link to open it.protected ComponentcreateLabel(String text, Icon icon, int flags) 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 ctx, Map params) createStringWidget(Map params) createTabbedPane(String[] titles, Object[] components) createTable(TableModel table, Context ctx) createTextEditor(Context ctx, Map params) createTextViewer(URL url, String mimeType, String content, Command hyperlink, boolean asBrowser) createTextViewer(URL url, String mimeType, String content, Command hyperlink, boolean asBrowser, boolean hideNavi) createToolBar(Context ctx, Map params) createTree(UITree tree) createTreeChoiceWidget(UITree tree) createTreeInSplit(UITree tree, Object split) createUITreeComponent(Object componentTree) Create a component wrapper around a JTree with the model as disposable invalid input: '&' the JTree as ComponentcreateViewerPanel(Context ctx, URL url, Map params) createWindow(Command close, Map params) protected ContainergetContentPane(Object container) intgetSelectedRow(ComponentWrapper table) getTable(ComponentWrapper table) getTextViewerComponent(Panel viewerPanel) voidhightliteContent(Object textViewer, String pattern) voidsetContent(Object textViewer, String mimeType, String content) voidsetContent(Object textViewer, URL content) voidsetDataHandlers(Object p, List<Item> h) static voidvoidsetLayout(Object component, LayoutManager layout) voidsetTransferHandler(Object p, Object h) voidshowPopupMenu(UITree menu, Object component, int x, int y) voidtransactionApplied(Transaction.Data xa, boolean rollback) protected voidupdateLabel(Component label, String text, Icon icon) voidMethods inherited from class de.grogra.pf.ui.awt.AWTToolkitBase
addComponent, createContainer, createContainer, createContainer, createLabel, createLabeledComponent, getComponent, getComponentCount, getFont, getHeight, getLocationOnScreen, getWidth, indexOf, indexOf, printTree, removeComponent, repaint, revalidate, windowActivated, windowClosed, windowDeactivated, windowDeiconified, windowIconified, windowOpenedMethods inherited from class de.grogra.pf.ui.UIToolkit
addComponent, chooseFile, createAbout, createButton, createButton, createButton, createButton, createButton, createLabel, createLabel, createLabel, createLabel, createViewerPanel, dispose, get, getFirstMatching, getFirstMatching
-
Field Details
-
I18N
-
-
Constructor Details
-
SwingToolkit
-
-
Method Details
-
transactionApplied
- Specified by:
transactionAppliedin interfaceXAListener
-
getContentPane
- Specified by:
getContentPanein classAWTToolkitBase
-
setDisabledIcon
-
getParent
-
createNumericWidget
- Specified by:
createNumericWidgetin classUIToolkit
-
createStringWidget
- Specified by:
createStringWidgetin classUIToolkit
-
createColorWidget
- Specified by:
createColorWidgetin classUIToolkit
-
createTreeChoiceWidget
- Specified by:
createTreeChoiceWidgetin classUIToolkit
-
createChoiceWidget
- Specified by:
createChoiceWidgetin classUIToolkit
-
createBooleanWidget
- Specified by:
createBooleanWidgetin classUIToolkit
-
createChartPanel
- Specified by:
createChartPanelin classUIToolkit
-
createWindow
- Specified by:
createWindowin classUIToolkit
-
createPanel
- Specified by:
createPanelin classUIToolkit
-
createConsole
- Specified by:
createConsolein classUIToolkit
-
createTextEditor
- Specified by:
createTextEditorin classUIToolkit
-
createContainer
- Specified by:
createContainerin classAWTToolkitBase
-
createSplitContainer
- Specified by:
createSplitContainerin classUIToolkit
-
setBorder
-
createTree
- Specified by:
createTreein classUIToolkit
-
createTreeInSplit
- Specified by:
createTreeInSplitin classUIToolkit
-
createTable
- Specified by:
createTablein classUIToolkit
-
getTable
-
getSelectedRow
- Specified by:
getSelectedRowin classUIToolkit
-
createTextViewer
public Object createTextViewer(URL url, String mimeType, String content, Command hyperlink, boolean asBrowser) - Specified by:
createTextViewerin classUIToolkit
-
createTextViewer
-
setContent
- Specified by:
setContentin classUIToolkit
-
setContent
- Specified by:
setContentin classUIToolkit
-
hightliteContent
- Specified by:
hightliteContentin classUIToolkit
-
createViewerPanel
- Specified by:
createViewerPanelin classUIToolkit
-
getTextViewerComponent
- Specified by:
getTextViewerComponentin classUIToolkit
-
createComponentTree
- Specified by:
createComponentTreein classUIToolkit
-
createComponentMenu
- Specified by:
createComponentMenuin classUIToolkit
-
createToolBar
- Specified by:
createToolBarin classUIToolkit
-
createStatusBar
- Specified by:
createStatusBarin classUIToolkit
-
createLabel
- Specified by:
createLabelin classAWTToolkitBase
-
updateLabel
- Specified by:
updateLabelin classAWTToolkitBase
-
createButton
public Object createButton(String text, IconSource icon, Dimension size, int flags, Command cmd, Context ctx) - Specified by:
createButtonin classUIToolkit
-
showPopupMenu
- Specified by:
showPopupMenuin classUIToolkit
-
windowClosing
- Specified by:
windowClosingin interfaceWindowListener
-
createScrollPane
- Specified by:
createScrollPanein classUIToolkit
-
createTabbedPane
- Specified by:
createTabbedPanein classUIToolkit
-
createUITreeComponent
Create a component wrapper around a JTree with the model as disposable invalid input: '&' the JTree as Component- Specified by:
createUITreeComponentin classUIToolkit
-
setLayout
-
createDisplayForProject
create a displayable panel based on a html template that presents the description of a project as well as link to open it.- Specified by:
createDisplayForProjectin classUIToolkit- Parameters:
context- the panelcontextitem- a uitree node that contains info on the project- Returns:
-
createLogViewer
- Specified by:
createLogViewerin classUIToolkit
-
setDataHandlers
- Specified by:
setDataHandlersin classUIToolkit
-
setTransferHandler
- Specified by:
setTransferHandlerin classUIToolkit
-