de.grogra.pf.ui
public class HeadlessToolkit extends 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 and Description |
|---|
HeadlessToolkit() |
| Modifier and Type | Method and Description |
|---|---|
void |
addComponent(java.lang.Object container,
java.lang.Object component,
java.lang.Object constraints,
int index) |
Widget |
createBooleanWidget(boolean forMenu,
Map params) |
java.lang.Object |
createButton(java.lang.String text,
IconSource source,
java.awt.Dimension size,
int flags,
Command cmd,
Context ctx) |
ChartPanel |
createChartPanel(Context ctx,
Map params) |
Widget |
createChoiceWidget(javax.swing.ListModel list,
boolean forMenu) |
Widget |
createColorWidget(Map params) |
ComponentWrapper |
createComponentMenu(UITree componentTree) |
ComponentWrapper |
createComponentTree(UITree componentTree) |
Console |
createConsole(Context context,
Map params) |
java.lang.Object |
createContainer(float[] weights,
int gap) |
java.lang.Object |
createContainer(int gap) |
java.lang.Object |
createContainer(int rows,
int cols,
int gap) |
java.lang.Object |
createLabel(java.lang.String text,
IconSource icon,
java.awt.Dimension size,
int flags) |
java.lang.Object |
createLabeledComponent(java.lang.Object component,
java.lang.Object label) |
Widget |
createNumericWidget(Type type,
Quantity quantity,
Map params) |
Panel |
createPanel(Context ctx,
Disposable toDispose,
Map params) |
java.lang.Object |
createScrollPane(java.lang.Object view) |
java.lang.Object |
createSplitContainer(int orientation) |
Panel |
createStatusBar(Context context,
Map params) |
Widget |
createStringWidget(Map params) |
java.lang.Object |
createTabbedPane(java.lang.String[] titles,
java.lang.Object[] components) |
ComponentWrapper |
createTable(javax.swing.table.TableModel table,
Context ctx) |
TextEditor |
createTextEditor(Context context,
Map params) |
java.lang.Object |
createTextViewer(java.net.URL url,
java.lang.String mimeType,
java.lang.String content,
Command hyperlink,
boolean asBrowser) |
Panel |
createToolBar(Context context,
Map params) |
ComponentWrapper |
createTree(UITree tree) |
Widget |
createTreeChoiceWidget(UITree tree) |
ComponentWrapper |
createTreeInSplit(UITree tree,
java.lang.Object split) |
Panel |
createViewerPanel(Context ctx,
java.net.URL url,
Map params) |
Window |
createWindow(Command close,
Map params) |
java.lang.Object |
getComponent(java.lang.Object container,
int index) |
int |
getComponentCount(java.lang.Object container) |
int |
getHeight(java.lang.Object component) |
java.awt.Point |
getLocationOnScreen(java.lang.Object component) |
java.lang.Object |
getParent(java.lang.Object component) |
int |
getSelectedRow(ComponentWrapper table) |
javax.swing.table.TableModel |
getTable(ComponentWrapper table) |
java.lang.Object |
getTextViewerComponent(Panel viewerPanel) |
int |
getWidth(java.lang.Object component) |
int |
indexOf(java.lang.Object component) |
void |
removeComponent(java.lang.Object component) |
void |
repaint(java.lang.Object component) |
void |
revalidate(java.lang.Object component) |
java.lang.Object |
setBorder(java.lang.Object component,
int gap) |
void |
setContent(java.lang.Object textViewer,
java.lang.String mimeType,
java.lang.String content) |
void |
setContent(java.lang.Object textViewer,
java.net.URL content) |
void |
showPopupMenu(UITree menu,
java.lang.Object component,
int x,
int y) |
addComponent, createAbout, createButton, createButton, createButton, createButton, createButton, createLabel, createLabel, createLabel, createLabel, createLogViewer, createViewerPanel, dispose, get, getFirstMatching, getFirstMatchingpublic void addComponent(java.lang.Object container,
java.lang.Object component,
java.lang.Object constraints,
int index)
addComponent in class UIToolkitpublic Widget createBooleanWidget(boolean forMenu, Map params)
createBooleanWidget in class UIToolkitpublic java.lang.Object createButton(java.lang.String text,
IconSource source,
java.awt.Dimension size,
int flags,
Command cmd,
Context ctx)
createButton in class UIToolkitpublic ChartPanel createChartPanel(Context ctx, Map params)
createChartPanel in class UIToolkitpublic Widget createChoiceWidget(javax.swing.ListModel list, boolean forMenu)
createChoiceWidget in class UIToolkitpublic Widget createColorWidget(Map params)
createColorWidget in class UIToolkitpublic ComponentWrapper createComponentMenu(UITree componentTree)
createComponentMenu in class UIToolkitpublic ComponentWrapper createComponentTree(UITree componentTree)
createComponentTree in class UIToolkitpublic Console createConsole(Context context, Map params)
createConsole in class UIToolkitpublic java.lang.Object createContainer(float[] weights,
int gap)
createContainer in class UIToolkitpublic java.lang.Object createContainer(int gap)
createContainer in class UIToolkitpublic java.lang.Object createContainer(int rows,
int cols,
int gap)
createContainer in class UIToolkitpublic java.lang.Object createLabel(java.lang.String text,
IconSource icon,
java.awt.Dimension size,
int flags)
createLabel in class UIToolkitpublic java.lang.Object createLabeledComponent(java.lang.Object component,
java.lang.Object label)
createLabeledComponent in class UIToolkitpublic Widget createNumericWidget(Type type, Quantity quantity, Map params)
createNumericWidget in class UIToolkitpublic Panel createPanel(Context ctx, Disposable toDispose, Map params)
createPanel in class UIToolkitpublic java.lang.Object createScrollPane(java.lang.Object view)
createScrollPane in class UIToolkitpublic java.lang.Object createSplitContainer(int orientation)
createSplitContainer in class UIToolkitpublic Panel createStatusBar(Context context, Map params)
createStatusBar in class UIToolkitpublic Widget createStringWidget(Map params)
createStringWidget in class UIToolkitpublic java.lang.Object createTabbedPane(java.lang.String[] titles,
java.lang.Object[] components)
createTabbedPane in class UIToolkitpublic ComponentWrapper createTable(javax.swing.table.TableModel table, Context ctx)
createTable in class UIToolkitpublic TextEditor createTextEditor(Context context, Map params)
createTextEditor in class UIToolkitpublic java.lang.Object createTextViewer(java.net.URL url,
java.lang.String mimeType,
java.lang.String content,
Command hyperlink,
boolean asBrowser)
createTextViewer in class UIToolkitpublic Panel createToolBar(Context context, Map params)
createToolBar in class UIToolkitpublic ComponentWrapper createTree(UITree tree)
createTree in class UIToolkitpublic Widget createTreeChoiceWidget(UITree tree)
createTreeChoiceWidget in class UIToolkitpublic ComponentWrapper createTreeInSplit(UITree tree, java.lang.Object split)
createTreeInSplit in class UIToolkitpublic Panel createViewerPanel(Context ctx, java.net.URL url, Map params)
createViewerPanel in class UIToolkitpublic Window createWindow(Command close, Map params)
createWindow in class UIToolkitpublic java.lang.Object getComponent(java.lang.Object container,
int index)
getComponent in class UIToolkitpublic int getComponentCount(java.lang.Object container)
getComponentCount in class UIToolkitpublic int getHeight(java.lang.Object component)
public java.awt.Point getLocationOnScreen(java.lang.Object component)
getLocationOnScreen in class UIToolkitpublic java.lang.Object getParent(java.lang.Object component)
public int getSelectedRow(ComponentWrapper table)
getSelectedRow in class UIToolkitpublic javax.swing.table.TableModel getTable(ComponentWrapper table)
public java.lang.Object getTextViewerComponent(Panel viewerPanel)
getTextViewerComponent in class UIToolkitpublic void removeComponent(java.lang.Object component)
removeComponent in class UIToolkitpublic void revalidate(java.lang.Object component)
revalidate in class UIToolkitpublic java.lang.Object setBorder(java.lang.Object component,
int gap)
public void setContent(java.lang.Object textViewer,
java.lang.String mimeType,
java.lang.String content)
setContent in class UIToolkitpublic void setContent(java.lang.Object textViewer,
java.net.URL content)
setContent in class UIToolkitpublic void showPopupMenu(UITree menu, java.lang.Object component, int x, int y)
showPopupMenu in class UIToolkit