public interface IGuiFactory
Used to create new instances of GUI API interfaces.
For a consistent UI and user experience it is strongly recommended to use extended components offered here whenever possible. Also these extended components
follow the user interface related settings.
You can mix extended components offered by the API and "basic" Swing components, but by using basic Swing components you'll lose the extra functionality
provided by the extended components - and future ones that will be added in the future.
For components that are initialized from setting values or are bound to them, please see ISettingsGui.
IFactory,
ISettingsGui| Modifier and Type | Method and Description |
|---|---|
IAction |
newAction(IRIcon ricon,
java.lang.String text,
java.awt.event.ActionListener listener)
Creates a new
IAction. |
IAction |
newAction(IRIcon ricon,
java.lang.String text,
javax.swing.JComponent comp,
java.awt.event.ActionListener listener)
Creates a new
IAction. |
IAction |
newAction(javax.swing.KeyStroke keyStroke,
IRIcon ricon,
java.lang.String text,
java.awt.event.ActionListener listener)
Creates a new
IAction. |
IAction |
newAction(javax.swing.KeyStroke keyStroke,
IRIcon ricon,
java.lang.String text,
javax.swing.JComponent comp,
java.awt.event.ActionListener listener)
Creates a new
IAction. |
IBarCodeView |
newBarCodeView(int[] values,
java.awt.Color[] colors,
java.awt.Color[] selColors)
Creates a new
IBarCodeView to be used in ITables as a cell value.The string value will be the properly formatted value. |
IBarCodeView |
newBarCodeView(int[] values,
java.awt.Color[] colors,
java.awt.Color[] selColors,
java.lang.String stringValue)
Creates a new
IBarCodeView to be used in ITables as a cell value. |
IBorderPanel |
newBorderPanel()
Creates a new
IBorderPanel. |
IBorderPanel |
newBorderPanel(javax.swing.JComponent centerComp)
Creates a new
IBorderPanel. |
IBrowser |
newBrowser()
Creates a new
IBrowser. |
IPage<? extends IBrowser> |
newBrowserPage(java.lang.String displayName,
IRIcon ricon,
IRHtml rhtml)
|
IButton |
newButton()
Creates a new
IButton. |
IButton |
newButton(IAction action)
Creates a new
IButton. |
IButton |
newButton(javax.swing.Icon icon)
Creates a new
IButton. |
IButton |
newButton(java.lang.String text)
Creates a new
IButton. |
IButton |
newButton(java.lang.String text,
javax.swing.Icon icon)
Creates a new
IButton. |
ICheckBox |
newCheckBox()
Creates a new
ICheckBox. |
ICheckBox |
newCheckBox(java.lang.String text)
Creates a new
ICheckBox. |
ICheckBox |
newCheckBox(java.lang.String text,
boolean selected)
Creates a new
ICheckBox. |
ICheckBoxMenuItem |
newCheckBoxMenuItem()
Creates a new
ICheckBoxMenuItem. |
ICheckBoxMenuItem |
newCheckBoxMenuItem(javax.swing.Icon icon)
Creates a new
ICheckBoxMenuItem. |
ICheckBoxMenuItem |
newCheckBoxMenuItem(java.lang.String text)
Creates a new
ICheckBoxMenuItem. |
ICheckBoxMenuItem |
newCheckBoxMenuItem(java.lang.String text,
javax.swing.Icon icon)
Creates a new
ICheckBoxMenuItem. |
IColorIcon |
newColorIcon(java.awt.Color color)
Creates a new
IColorIcon. |
IColorIcon |
newColorIcon(java.awt.Color color,
int width,
int height)
Creates a new
IColorIcon. |
IColorIcon |
newColorIcon(java.awt.Color color,
int width,
int height,
java.lang.String text)
Creates a new
IColorIcon. |
IColorIcon |
newColorIcon(java.awt.Color color,
java.lang.String text)
Creates a new
IColorIcon. |
<E> IComboBox<E> |
newComboBox()
Creates a new
IComboBox. |
<E> IComboBox<E> |
newComboBox(E[] items)
Creates a new
IComboBox. |
<E> IComboBox<E> |
newComboBox(java.util.Vector<E> items)
Creates a new
IComboBox. |
IDialog |
newDialog(java.awt.Frame owner,
java.lang.Runnable closeTask)
Creates a new
IDialog with the specified parent frame. |
IDialog |
newDialog(java.lang.Runnable closeTask)
Creates a new
IDialog whose parent will be the main frame (IServices.getMainFrame()). |
IFileChooser |
newFileChooser()
Creates a new
IFileChooser. |
IFileChooser |
newFileChooser(java.nio.file.Path currentFolder)
Creates a new
IFileChooser. |
IGridBagPanel |
newGridBagPanel()
Creates a new
IGridBagPanel. |
IHelpIcon |
newHelpIcon(IRHtml helpRhtml)
Creates a new
IHelpIcon. |
IHelpIcon |
newHelpIcon(IRHtml helpRhtml,
boolean stressed)
Creates a new
IHelpIcon. |
IIndicatorTextArea |
newIndicatorTextArea()
Creates a new
IIndicatorTextArea. |
IIndicatorTextArea |
newIndicatorTextArea(java.lang.String text)
Creates a new
IIndicatorTextArea. |
IIndicatorTextField |
newIndicatorTextField()
Creates a new
IIndicatorTextField. |
IIndicatorTextField |
newIndicatorTextField(java.lang.String text)
Creates a new
IIndicatorTextField. |
ILabel |
newLabel()
Creates a new
ILabel. |
ILabel |
newLabel(javax.swing.Icon icon)
Creates a new
ILabel. |
ILabel |
newLabel(java.lang.String text)
Creates a new
ILabel. |
ILabel |
newLabel(java.lang.String text,
javax.swing.Icon icon)
Creates a new
ILabel. |
ILabel |
newLabel(java.lang.String text,
javax.swing.Icon icon,
int halignment)
Creates a new
ILabel. |
ILabel |
newLabel(java.lang.String text,
int halignment)
Creates a new
ILabel. |
ILink |
newLink()
Creates a new
ILink with no URL and no target action. |
ILink |
newLink(java.lang.String text)
Creates a new
ILink with no URL or target action. |
ILink |
newLink(java.lang.String text,
Consumer<java.awt.event.MouseEvent> consumer)
|
ILink |
newLink(java.lang.String text,
java.net.URL url)
Creates a new
ILink which opens the specified URL in the user's default browser when clicked. |
ILink |
newLink(java.lang.String text,
java.net.URL url,
Consumer<java.awt.event.MouseEvent> consumer)
|
<E> IList<E> |
newList()
Creates a new
IList. |
IMenu |
newMenu()
Creates a new
IMenu. |
IMenu |
newMenu(javax.swing.Icon icon)
Creates a new
IMenu. |
IMenu |
newMenu(java.lang.String text)
Creates a new
IMenu. |
IMenu |
newMenu(java.lang.String text,
javax.swing.Icon icon)
Creates a new
IMenu. |
IMenuItem |
newMenuItem()
Creates a new
IMenuItem. |
IMenuItem |
newMenuItem(javax.swing.Icon icon)
Creates a new
IMenuItem. |
IMenuItem |
newMenuItem(java.lang.String text)
Creates a new
IMenuItem. |
IMenuItem |
newMenuItem(java.lang.String text,
javax.swing.Icon icon)
Creates a new
IMenuItem. |
IModestLabel |
newModestLabel()
Creates a new
IModestLabel. |
IModestLabel |
newModestLabel(java.lang.String text)
Creates a new
IModestLabel. |
IMultiPageComp |
newMultiPageComp(java.util.List<IPage<?>> pageList,
IPage<?> defaultPage,
javax.swing.JComponent rootComponent)
Creates a new
IMultiPageComp. |
IOverlayCard |
newOverlayCard(OverlayCardParams params,
IConfigPopupBuilder configPopupBuilder,
java.lang.Runnable closeTask)
Creates a new
IDialog with the specified parent frame. |
<T extends javax.swing.JComponent> |
newPage(java.lang.String displayName,
IRIcon ricon,
boolean closeable,
IPageCompCreator<T> pageCompCreator)
Creates a new
IPage. |
IPasswordField |
newPasswordField()
Creates a new
IPasswordField. |
IPasswordField |
newPasswordField(int columns)
Creates a new
IPasswordField. |
IPasswordField |
newPasswordField(java.lang.String text)
Creates a new
IPasswordField. |
IPasswordField |
newPasswordField(java.lang.String text,
int columns)
Creates a new
IPasswordField. |
IPathField |
newPathField()
Creates a new
IPathField in folder mode. |
IPathField |
newPathField(boolean fileMode)
Creates a new
IPathField in the specified mode. |
IPathField |
newPathField(java.nio.file.Path path)
Creates a new
IPathField in folder mode. |
IPathField |
newPathField(java.nio.file.Path path,
boolean fileMode)
Creates a new
IPathField in the specified mode. |
IPopupMenu |
newPopupMenu()
Creates a new
IPopupMenu. |
IPopupMenu |
newPopupMenu(ILabel titleLabel)
Creates a new
IPopupMenu. |
IPopupMenu |
newPopupMenu(java.lang.String text)
Creates a new
IPopupMenu. |
IPopupMenu |
newPopupMenu(java.lang.String text,
javax.swing.Icon icon)
Creates a new
IPopupMenu. |
IProgressBar |
newProgressBar()
Creates a new
IProgressBar. |
IProgressBarView |
newProgressBarView(int value,
int maximum)
Creates a new
IProgressBarView to be used in ITables as a cell value.The string value will be the properly formatted value. |
IProgressBarView |
newProgressBarView(int value,
int maximum,
java.lang.String stringValue)
Creates a new
IProgressBarView to be used in ITables as a cell value. |
<T> IRenderablePair<T> |
newRenderablePair(javax.swing.Icon icon,
T textProvider)
Creates a new IMMUTABLE
IRenderablePair. |
IRHtml |
newRHtml(java.lang.String title,
java.net.URL resource,
java.util.Set<java.lang.String> htmlParams,
java.lang.String... params)
Creates a new
IRHtml. |
IRHtml |
newRHtml(java.lang.String title,
java.net.URL resource,
java.lang.String... params)
Creates a new
IRHtml. |
IRIcon |
newRIcon(java.net.URL url)
Creates a new
IRIcon from the specified image location. |
IScrollPane |
newScrollPane()
Creates a new
IScrollPane with small preferred size. |
IScrollPane |
newScrollPane(java.awt.Component view)
Creates a new
IScrollPane with small preferred size. |
IScrollPane |
newScrollPane(java.awt.Component view,
boolean smallSize)
Creates a new
IScrollPane. |
IScrollPane |
newScrollPane(java.awt.Component view,
boolean smallSize,
boolean followScrollingSetting)
Creates a new
IScrollPane. |
ISpinner |
newSpinner()
Creates a new
ISpinner with an Integer SpinnerNumberModel with initial value 0 and no minimum or maximum limits. |
ISpinner |
newSpinner(javax.swing.SpinnerModel model)
Creates a new
ISpinner. |
ISplitPane |
newSplitPane()
Creates a new
ISplitPane using JSplitPane.HORIZONTAL_SPLIT orientation (the splitter will be vertical). |
ISplitPane |
newSplitPane(int orientation)
Creates a new
ISplitPane. |
IStatusLabel |
newStatusLabel()
Creates a new
IStatusLabel. |
IStatusLabel |
newStatusLabel(IStatusLabel.IStatusType type,
java.lang.String message)
Creates a new
IStatusLabel. |
ITabbedPane |
newTabbedPane()
Creates a new
ITabbedPane. |
ITable |
newTable()
Creates a new
ITable. |
ITemplateField |
newTemplateField()
Creates a new
ITemplateField with a template editor dialog opener button added. |
ITemplateField |
newTemplateField(boolean addDialogOpener)
Creates a new
ITemplateField. |
ITemplateField |
newTemplateField(java.lang.String template)
Creates a new
ITemplateField with a template editor dialog opener button added. |
ITemplateField |
newTemplateField(java.lang.String template,
boolean addDialogOpener)
Creates a new
ITemplateField. |
ITextArea |
newTextArea()
Creates a new
ITextArea. |
ITextArea |
newTextArea(java.lang.String text)
Creates a new
ITextArea. |
ITextArea |
newTextArea(java.lang.String text,
int rows,
int columns)
Creates a new
ITextArea. |
ITextField |
newTextField()
Creates a new
ITextField. |
ITextField |
newTextField(boolean clearByEsc)
Creates a new
ITextField. |
ITextField |
newTextField(int columns)
Creates a new
ITextField. |
ITextField |
newTextField(java.lang.String text)
Creates a new
ITextField. |
ITextField |
newTextField(java.lang.String text,
int columns)
Creates a new
ITextField. |
ITextField |
newTextField(java.lang.String text,
int columns,
boolean clearByEsc)
Creates a new
ITextField. |
ITipIcon |
newTipIcon(IRHtml tipRhtml)
Creates a new
ITipIcon. |
IToolBar |
newToolBar()
Creates a new
IToolBar. |
IToolBar |
newToolBar(boolean initialSpace)
Creates a new
IToolBar. |
IToolBarForList |
newToolBarForList(IList<?> list)
Creates a new
IToolBarForList. |
IToolBarForTable |
newToolBarForTable(ITable table)
Creates a new
IToolBarForTable. |
IToolBarForTree |
newToolBarForTree(ITree tree)
Creates a new
IToolBarForTree. |
ITree |
newTree(javax.swing.tree.TreeNode root)
Creates a new
ITree. |
ILabel newLabel(java.lang.String text)
ILabel.text - text of the labelILabelILabel newLabel(java.lang.String text, int halignment)
ILabel.text - text of the labelhalignment - horizontal alignment; one of SwingConstants: LEFT, CENTER, RIGHT, LEADING or TRAILINGILabelILabel newLabel(javax.swing.Icon icon)
ILabel.icon - icon of the labelILabelILabel newLabel(java.lang.String text, javax.swing.Icon icon)
ILabel.text - text of the labelicon - icon of the labelILabelILabel newLabel(java.lang.String text, javax.swing.Icon icon, int halignment)
ILabel.text - text of the labelicon - icon of the labelhalignment - horizontal alignment; one of SwingConstants: LEFT, CENTER, RIGHT, LEADING or TRAILINGILabelIRIcon newRIcon(java.net.URL url)
IRHtml newRHtml(java.lang.String title, java.net.URL resource, java.lang.String... params)
IRHtml.IRHtml newRHtml(java.lang.String title, java.net.URL resource, java.util.Set<java.lang.String> htmlParams, java.lang.String... params)
IRHtml.title - title of the HTML templateresource - HTML template resourcehtmlParams - collection of HTML param names, values of these parameters are treated as HTML and are not escapedparams - param name - param value pairs to be substituted in the HTML template;"${" and postpended with "}"IRHtmlIRHtmlIHelpIcon newHelpIcon(IRHtml helpRhtml)
IHelpIcon.helpRhtml - html template resource of the help contentIHelpIconIHelpIcon newHelpIcon(IRHtml helpRhtml, boolean stressed)
IHelpIcon.helpRhtml - html template resource of the help contentstressed - tells if the help icon's appearance should be garish, stressedIHelpIconITipIcon newTipIcon(IRHtml tipRhtml)
ITipIcon.tipRhtml - html template resource of the tip contentITipIconILink newLink(java.lang.String text, java.net.URL url)
ILink which opens the specified URL in the user's default browser when clicked.text - text of the linkurl - URL to be opened when clickedILinkILink newLink(java.lang.String text, Consumer<java.awt.event.MouseEvent> consumer)
text - text of the linkconsumer - consumer to be called when clickedILinkILink newLink(java.lang.String text, java.net.URL url, Consumer<java.awt.event.MouseEvent> consumer)
ILink which forwards mouse click events to the specified Consumer and opens the specified URL in the user's default browser
when clicked.text - text of the linkurl - URL to be opened when clickedconsumer - consumer to be called when clickedILinkIAction newAction(IRIcon ricon, java.lang.String text, java.awt.event.ActionListener listener)
IAction.ricon - optional ricon of the actiontext - text of the actionlistener - action listener to be called when action is performedIActionIAction newAction(IRIcon ricon, java.lang.String text, javax.swing.JComponent comp, java.awt.event.ActionListener listener)
IAction.ricon - optional ricon of the actiontext - text of the actioncomp - component to bind the action's setting change listener to; basically in this case the lifetime of the scl will be bound to the specified
component's lifetimelistener - action listener to be called when action is performedIActionIAction newAction(javax.swing.KeyStroke keyStroke, IRIcon ricon, java.lang.String text, java.awt.event.ActionListener listener)
IAction.keyStroke - optional hotkey of the actionricon - optional ricon of the actiontext - text of the actionlistener - action listener to be called when action is performedIActionIAction newAction(javax.swing.KeyStroke keyStroke, IRIcon ricon, java.lang.String text, javax.swing.JComponent comp, java.awt.event.ActionListener listener)
IAction.keyStroke - optional hotkey of the actionricon - optional ricon of the actiontext - text of the actioncomp - component to bind the action's setting change listener to; basically in this case the lifetime of the scl will be bound to the specified
component's lifetimelistener - action listener to be called when action is performedIActionIButton newButton(java.lang.String text)
IButton.text - text of the buttonIButtonIButton newButton(javax.swing.Icon icon)
IButton.icon - icon of the buttonIButtonIButton newButton(java.lang.String text, javax.swing.Icon icon)
IButton.text - text of the buttonicon - icon of the buttonIButtonIButton newButton(IAction action)
IButton.action - action to configure the button fromIButtonITextField newTextField()
ITextField.ITextFieldITextField newTextField(boolean clearByEsc)
ITextField.clearByEsc - tells if text field should be cleared when the ESC key is pressedITextFieldITextField newTextField(java.lang.String text)
ITextField.text - initial text of the text fieldITextFieldITextField newTextField(int columns)
ITextField.columns - the number of columns to use to calculate the preferred width; if columns is set to zero, the preferred width will be whatever naturally
results from the component implementationITextFieldITextField newTextField(java.lang.String text, int columns)
ITextField.text - text of the check boxcolumns - the number of columns to use to calculate the preferred width; if columns is set to zero, the preferred width will be whatever naturally
results from the component implementationITextFieldITextField newTextField(java.lang.String text, int columns, boolean clearByEsc)
ITextField.text - text of the check boxcolumns - the number of columns to use to calculate the preferred width; if columns is set to zero, the preferred width will be whatever naturally
results from the component implementationclearByEsc - tells if text field should be cleared when the ESC key is pressedITextFieldIIndicatorTextField newIndicatorTextField()
IIndicatorTextField.IIndicatorTextFieldIIndicatorTextField newIndicatorTextField(java.lang.String text)
IIndicatorTextField.text - initial text to be setIIndicatorTextFieldITextArea newTextArea(java.lang.String text)
ITextArea.text - initial text of the text areaITextAreaITextArea newTextArea(java.lang.String text, int rows, int columns)
ITextArea.text - initial text of the text arearows - the number of rows to use to calculate the preferred heightcolumns - the number of columns to use to calculate the preferred widthITextAreaIIndicatorTextArea newIndicatorTextArea()
IIndicatorTextArea.IIndicatorTextAreaIIndicatorTextArea newIndicatorTextArea(java.lang.String text)
IIndicatorTextArea.text - initial text to be setIIndicatorTextAreaIBorderPanel newBorderPanel()
IBorderPanel.IBorderPanelIBorderPanel newBorderPanel(javax.swing.JComponent centerComp)
IBorderPanel.centerComp - component to be added to the centerIBorderPanelIColorIcon newColorIcon(java.awt.Color color)
IColorIcon.color - color of the icon.IColorIconIColorIcon newColorIcon(java.awt.Color color, java.lang.String text)
IColorIcon.color - color of the icon.text - text to be returned by the IColorIcon.toString() methodIColorIconIColorIcon newColorIcon(java.awt.Color color, int width, int height)
IColorIcon.color - color of the icon.width - width of the iconheight - height of the iconIColorIconIColorIcon newColorIcon(java.awt.Color color, int width, int height, java.lang.String text)
IColorIcon.color - color of the icon.width - width of the iconheight - height of the icontext - text to be returned by the IColorIcon.toString() methodIColorIconIGridBagPanel newGridBagPanel()
IGridBagPanel.IGridBagPanelIModestLabel newModestLabel()
IModestLabel.IModestLabelIModestLabel newModestLabel(java.lang.String text)
IModestLabel.text - text of the labelIModestLabelIFileChooser newFileChooser()
IFileChooser.IFileChooserIFileChooser newFileChooser(java.nio.file.Path currentFolder)
IFileChooser.currentFolder - default folder to navigate toIFileChooserIPathField newPathField()
IPathField in folder mode.IPathFieldIPathField newPathField(boolean fileMode)
IPathField in the specified mode.fileMode - if true, the field operates as a file chooser; else as a folder chooserIPathFieldIPathField newPathField(java.nio.file.Path path)
IPathField in folder mode.path - initial path to be setIPathFieldIPathField newPathField(java.nio.file.Path path, boolean fileMode)
IPathField in the specified mode.path - initial path to be setfileMode - if true, the field operates as a file chooser; else as a folder chooserIPathFieldIStatusLabel newStatusLabel()
IStatusLabel.IStatusLabelIStatusLabel newStatusLabel(IStatusLabel.IStatusType type, java.lang.String message)
IStatusLabel.type - initial status type to be setmessage - initial status message to be setIStatusLabelICheckBox newCheckBox(java.lang.String text)
ICheckBox.text - text of the check boxICheckBoxICheckBox newCheckBox(java.lang.String text, boolean selected)
ICheckBox.text - text of the check boxselected - initial selected stateICheckBoxIProgressBar newProgressBar()
IProgressBar.IProgressBarIScrollPane newScrollPane()
IScrollPane with small preferred size.IScrollPaneIScrollPane newScrollPane(java.awt.Component view)
IScrollPane with small preferred size.view - the component to be scrolledIScrollPaneIScrollPane newScrollPane(java.awt.Component view, boolean smallSize)
IScrollPane.view - the component to be scrolledsmallSize - tells if small preferred size is to be set to prefer vertical scrolling instead of horizontalIScrollPaneIScrollPane newScrollPane(java.awt.Component view, boolean smallSize, boolean followScrollingSetting)
IScrollPane.view - the component to be scrolledsmallSize - tells if small preferred size is to be set to prefer vertical scrolling instead of horizontalfollowScrollingSetting - tells if the vertical scrolling amount setting is to be followedIScrollPaneISpinner newSpinner()
ISpinner with an Integer SpinnerNumberModel with initial value 0 and no minimum or maximum limits.ISpinnerISpinner newSpinner(javax.swing.SpinnerModel model)
ISpinner.model - model to create the spinner withISpinnerISplitPane newSplitPane()
ISplitPane using JSplitPane.HORIZONTAL_SPLIT orientation (the splitter will be vertical).ISplitPaneISplitPane newSplitPane(int orientation)
ISplitPane.orientation - orientation (JSplitPane.HORIZONTAL_SPLIT or JSplitPane.VERTICAL_SPLIT)ISplitPaneIToolBar newToolBar(boolean initialSpace)
IToolBar.initialSpace - tells if initial space component is to be addedIToolBar<E> IComboBox<E> newComboBox()
IComboBox.E - type of the elements added to the combo boxIComboBox<E> IComboBox<E> newComboBox(E[] items)
IComboBox.E - type of the elements added to the combo boxitems - initial items to be added to the combo boxIComboBox<E> IComboBox<E> newComboBox(java.util.Vector<E> items)
IComboBox.E - type of the elements added to the combo boxitems - initial items to be added to the combo boxIComboBoxIProgressBarView newProgressBarView(int value, int maximum)
IProgressBarView to be used in ITables as a cell value.value - value for the progress barmaximum - maximum value for the progress barIProgressBarViewnewProgressBarView(int, int, String),
IProgressBarViewIProgressBarView newProgressBarView(int value, int maximum, java.lang.String stringValue)
IProgressBarView to be used in ITables as a cell value.value - value for the progress barmaximum - maximum value for the progress barstringValue - string value to be displayedIProgressBarViewnewProgressBarView(int, int),
IProgressBarViewIBarCodeView newBarCodeView(int[] values, java.awt.Color[] colors, java.awt.Color[] selColors)
IBarCodeView to be used in ITables as a cell value.values - values of the parts of the bar codecolors - colors of the parts of the bar codeselColors - colors of the parts of the bar code when the cell is selectedIBarCodeViewjava.lang.IllegalArgumentException - if the number of values, colors and selected colors are not the samenewBarCodeView(int[], Color[], Color[], String),
IBarCodeViewIBarCodeView newBarCodeView(int[] values, java.awt.Color[] colors, java.awt.Color[] selColors, java.lang.String stringValue)
IBarCodeView to be used in ITables as a cell value.values - values of the parts of the bar codecolors - colors of the parts of the bar codeselColors - colors of the parts of the bar code when the cell is selectedstringValue - string value to be displayedIBarCodeViewjava.lang.IllegalArgumentException - if the number of values, colors and selected colors are not the samenewBarCodeView(int[], Color[], Color[]),
IBarCodeViewIToolBarForTable newToolBarForTable(ITable table)
IToolBarForTable.table - targeted table whose selection changes to listenIToolBarForTable<E> IList<E> newList()
IList.E - type of the elements in the listIListIToolBarForList newToolBarForList(IList<?> list)
IToolBarForList.list - targeted list whose selection changes to listenIToolBarForListITree newTree(javax.swing.tree.TreeNode root)
ITree.root - root nodeITreeIToolBarForTree newToolBarForTree(ITree tree)
IToolBarForTree.tree - targeted tree whose selection changes to listenIToolBarForTreeIMenu newMenu(java.lang.String text)
IMenu.text - text of the menuIMenuIMenu newMenu(javax.swing.Icon icon)
IMenu.icon - icon of the menuIMenuIMenu newMenu(java.lang.String text, javax.swing.Icon icon)
IMenu.text - text of the menuicon - icon of the menuIMenuIMenuItem newMenuItem(java.lang.String text)
IMenuItem.text - text of the menu itemIMenuItemIMenuItem newMenuItem(javax.swing.Icon icon)
IMenuItem.icon - icon of the menu itemIMenuItemIMenuItem newMenuItem(java.lang.String text, javax.swing.Icon icon)
IMenuItem.text - text of the menu itemicon - icon of the menu itemIMenuItemICheckBoxMenuItem newCheckBoxMenuItem()
ICheckBoxMenuItem.ICheckBoxMenuItemICheckBoxMenuItem newCheckBoxMenuItem(java.lang.String text)
ICheckBoxMenuItem.text - text of the check box menu itemICheckBoxMenuItemICheckBoxMenuItem newCheckBoxMenuItem(javax.swing.Icon icon)
ICheckBoxMenuItem.icon - icon of the check box menu itemICheckBoxMenuItemICheckBoxMenuItem newCheckBoxMenuItem(java.lang.String text, javax.swing.Icon icon)
ICheckBoxMenuItem.text - text of the check box menu itemicon - icon of the check box menu itemICheckBoxMenuItemIPasswordField newPasswordField()
IPasswordField.IPasswordFieldIPasswordField newPasswordField(java.lang.String text)
IPasswordField.text - initial text of the password fieldIPasswordFieldIPasswordField newPasswordField(int columns)
IPasswordField.columns - the number of columns to use to calculate the preferred width; if columns is set to zero, the preferred width will be whatever naturally
results from the component implementationIPasswordFieldIPasswordField newPasswordField(java.lang.String text, int columns)
IPasswordField.text - initial text of the password fieldcolumns - the number of columns to use to calculate the preferred width; if columns is set to zero, the preferred width will be whatever naturally
results from the component implementationIPasswordFieldIPopupMenu newPopupMenu()
IPopupMenu.IPopupMenuIPopupMenu newPopupMenu(java.lang.String text)
IPopupMenu.text - text of the popup titleIPopupMenuIPopupMenu newPopupMenu(java.lang.String text, javax.swing.Icon icon)
IPopupMenu.text - text of the popup titleicon - icon of the popup titleIPopupMenuIPopupMenu newPopupMenu(ILabel titleLabel)
IPopupMenu.titleLabel - title label of the popupIPopupMenuITabbedPane newTabbedPane()
ITabbedPane.ITabbedPane<T extends javax.swing.JComponent> IPage<T> newPage(java.lang.String displayName, IRIcon ricon, boolean closeable, IPageCompCreator<T> pageCompCreator)
IPage.T - type of the page componentdisplayName - display name of the pagericon - ricon of the pagecloseable - tells if the page is closeablepageCompCreator - page component creatorIPageIPage,
IPageCompCreatorIPage<? extends IBrowser> newBrowserPage(java.lang.String displayName, IRIcon ricon, IRHtml rhtml)
IPage which creates IBrowser as page component to display the specified HTML resource.displayName - display name of the pagericon - icon resource of the pagerhtml - HTML template resource to display as contentIPageIMultiPageComp newMultiPageComp(java.util.List<IPage<?>> pageList, IPage<?> defaultPage, javax.swing.JComponent rootComponent)
IMultiPageComp.pageList - initial page list to be setdefaultPage - optional page to select by default; if null, the first page will be selectedrootComponent - root component to register key strokes atIMultiPageCompIMultiPageComp,
newPage(String, IRIcon, boolean, IPageCompCreator)ITemplateField newTemplateField()
ITemplateField with a template editor dialog opener button added.ITemplateFieldITemplateField newTemplateField(java.lang.String template)
ITemplateField with a template editor dialog opener button added.template - initial template to be setITemplateFieldITemplateField newTemplateField(boolean addDialogOpener)
ITemplateField.addDialogOpener - tells if a template editor dialog opener button is to be addedITemplateFieldITemplateField newTemplateField(java.lang.String template, boolean addDialogOpener)
ITemplateField.template - initial template to be setaddDialogOpener - tells if a template editor dialog opener button is to be addedITemplateFieldIDialog newDialog(java.lang.Runnable closeTask)
IDialog whose parent will be the main frame (IServices.getMainFrame()).
The returned dialog is not yet made visible.
IDialog newDialog(java.awt.Frame owner, java.lang.Runnable closeTask)
IDialog with the specified parent frame.
The returned dialog is not yet made visible.
IOverlayCard newOverlayCard(OverlayCardParams params, IConfigPopupBuilder configPopupBuilder, java.lang.Runnable closeTask)
IDialog with the specified parent frame.
The returned overlay card is not yet made visible.
params - overlay card parameters wrapperconfigPopupBuilder - optional config popup builder, can be used to add custom items to the config popup (before it is displayed)closeTask - optional close task to be run right before the overlay card is closedIDialogIDialog,
OverlayCardParams,
IConfigPopupBuilder<T> IRenderablePair<T> newRenderablePair(javax.swing.Icon icon, T textProvider)
IRenderablePair.T - type of the object providing the displayed texticon - icon to be renderedtextProvider - object providing the displayable text (acquired by Object.toString())IRenderablePairIRenderablePair
This API documentation is public and is intended for / allowed to be used by anyone.
Scelight home page: https://sites.google.com/site/scelight/
Scelight is a trademark of András Belicza. Copyright © András Belicza, 2013-2015. All rights reserved.