public final class Factory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static boolean |
m_DnDfeatures |
Constructor and Description |
---|
Factory() |
Modifier and Type | Method and Description |
---|---|
static javax.swing.JPanel |
addAnalogicalRowSelector(DataScrollingPanel containerPanel,
long rowKeyValue)
Adds an
AnalogicalRowSelector object to a DataScrollingPanel instance. |
static void |
addCheckToGrid(TermContainerPanel panel,
java.lang.String fieldName,
java.lang.String label)
Like the
addDateTimeToGrid(org.joty.workstation.gui.TermContainerPanel, java.lang.String, java.lang.String) method but for a logic field. |
static void |
addComboToGrid(TermContainerPanel panel,
java.lang.String fieldName,
java.lang.String label,
java.lang.String descrSetName)
Tells the framework to put a text column into the main grid of a
TermContainerPanel in which to resolve the value of a specified
integer upon a specified LiteralStruct object. |
static CriteriaPanel |
addCriteriaPanel(CriteriaPanel criteriaPanel) |
static CriteriaPanel |
addCriteriaPanel(SearcherPanel searcherPanel,
CriteriaPanel criteriaPanel)
Add a CriteriaPanel to a SeacherPanel layout
|
static DataAccessPanel |
addDataAccessPanel(Panel contentPanel,
DataAccessPanel panel)
Adds a
DataAccessPanel object to the layout of a Panel object. |
static DataAccessPanel |
addDataAccessPanel(Panel contentPanel,
DataAccessPanel panel,
java.lang.String updateableSet) |
static DataAccessPanel |
addDataAccessPanel(Panel contentPanel,
DataAccessPanel panel,
java.lang.String updateableSet,
java.lang.String completeSet)
Adds a
DataAccessPanel to the layout of a content panel. |
static void |
addDateTimeToGrid(TermContainerPanel panel,
java.lang.String fieldName,
java.lang.String label)
Tells the framework to put a date time column into the main grid of a
TermContainerPanel for the specified database field. |
static void |
addDateToGrid(TermContainerPanel panel,
java.lang.String fieldName,
java.lang.String label)
Like the
addDateTimeToGrid(org.joty.workstation.gui.TermContainerPanel, java.lang.String, java.lang.String) method but for a date field. |
static void |
addDecimalToGrid(TermContainerPanel panel,
java.lang.String fieldName,
java.lang.String label)
Like the
addDateTimeToGrid(org.joty.workstation.gui.TermContainerPanel, java.lang.String, java.lang.String) method but for a decimal number field. |
static void |
addLongNumToGrid(TermContainerPanel panel,
java.lang.String fieldName,
java.lang.String label)
Like the
addDateTimeToGrid(org.joty.workstation.gui.TermContainerPanel, java.lang.String, java.lang.String) method but for a long integer field. |
static void |
addNumToGrid(TermContainerPanel panel,
java.lang.String fieldName,
java.lang.String label)
Like the
addDateTimeToGrid(org.joty.workstation.gui.TermContainerPanel, java.lang.String, java.lang.String) method but for a integer field. |
static SearcherPanel |
addSearcherPanel(Panel contentPanel,
SearcherPanel panel)
Adds a
SearcherPanel to the layout of a contentPanel. |
static DataAccessPanel |
addTab(TabbedPane tabbedPane,
DataAccessPanel panel)
|
static DataAccessPanel |
addTab(TabbedPane tabbedPane,
DataAccessPanel panel,
java.lang.String updateableSet)
|
static DataAccessPanel |
addTab(TabbedPane tabbedPane,
DataAccessPanel panel,
java.lang.String updateableSet,
java.lang.String completeSet)
Adds a tab to a
TabbedPane object and attach a specified
DataAccessPanel object to it. |
static TermContainerPanel |
addTermContainerPanel(Panel contentPanel,
TermContainerPanel panel)
Lets the contentPanel to have
m_dialog assigned with the
JotyDialog detected by the TermContainerPanel specified. |
static void |
addTextToGrid(TermContainerPanel panel,
java.lang.String fieldName,
int iSize,
java.lang.String label)
Like the
addDateTimeToGrid(org.joty.workstation.gui.TermContainerPanel, java.lang.String, java.lang.String) method but for a text field. |
static void |
addTextToGrid(TermContainerPanel panel,
java.lang.String fieldName,
java.lang.String label)
Sets to 50 the size parameter of the
addTextToGrid(org.joty.workstation.gui.TermContainerPanel, java.lang.String, int, java.lang.String) method. |
static BlobComponent |
createBlobComponent(TermContainerPanel panel,
java.lang.String termName,
java.lang.String fieldName,
java.lang.String fileExt,
java.lang.String verboseFileType)
Creates a
BlobComponent object and adds it to the layout of a
TermContainerPanel object. |
static BufferedComboBoxTerm.BufferedComboBox |
createBufferedComboBox(TermContainerPanel panel,
java.lang.String termName,
java.lang.String fieldName)
Creates a
BufferedComboBox object and adds it to the layout of a
TermContainerPanel object. |
static CheckBox |
createCheck(TermContainerPanel panel,
java.lang.String termName,
java.lang.String fieldName)
Creates a
CheckBox object and adds it to the layout of a
TermContainerPanel object. |
static CheckBoxList |
createCheckBoxList(TermContainerPanel panel,
java.lang.String termName,
java.lang.String descrSetName,
java.lang.String dataTable,
java.lang.String dataSetDatumFld,
java.lang.String mainEntityKeyField,
java.lang.String mainTermName,
boolean setLoadOnly)
Creates a
CheckBoxList object and adds it to the layout of a
TermContainerPanel object. |
static ComboBox |
createComboBox(TermContainerPanel panel,
java.lang.String termName,
java.lang.String fieldName,
boolean textValue,
java.lang.String descrSetName)
Creates a
ComboBox object and adds it to the layout of a
TermContainerPanel object. |
static JotyTextField |
createDate(TermContainerPanel panel,
java.lang.String termName,
java.lang.String fieldName)
Creates a
JotyTextField object to manage a date typed datum and
adds it to the layout of a TermContainerPanel object. |
static JotyTextField |
createDateRenderer(TermContainerPanel panel,
java.lang.String termName,
boolean loadOnly) |
static JotyTextField |
createDateRenderer(TermContainerPanel panel,
java.lang.String termName,
java.lang.String fieldName,
boolean loadOnly) |
static JotyTextField |
createDateRenderer(TermContainerPanel panel,
java.lang.String termName,
java.lang.String fieldName,
java.lang.String paramName,
boolean loadOnly)
It is Like the
createDate(TermContainerPanel, String, String)
method but for a read-only component that, however, can get value for a
context parameter and that is enable to have its field saved in the save
action. |
static JotyTextField |
createDateTime(TermContainerPanel panel,
java.lang.String termName,
java.lang.String fieldName)
Like the {link
createDate(TermContainerPanel, String, String) method but for date time typed datum. |
static JotyTextField |
createDecimal(TermContainerPanel panel,
java.lang.String termName,
java.lang.String fieldName) |
static JotyTextField |
createDecimal(TermContainerPanel panel,
java.lang.String termName,
java.lang.String fieldName,
int iSize)
Like the
createDate(TermContainerPanel, String, String) method but for a decimal number. |
static ComboBox |
createDescrRenderer(TermContainerPanel panel,
java.lang.String termName,
java.lang.String descrSetName,
boolean loadOnly) |
static ComboBox |
createDescrRenderer(TermContainerPanel panel,
java.lang.String termName,
java.lang.String fieldName,
java.lang.String descrSetName,
boolean loadOnly) |
static ComboBox |
createDescrRenderer(TermContainerPanel panel,
java.lang.String termName,
java.lang.String fieldName,
java.lang.String descrSetName,
java.lang.String paramName,
boolean loadOnly)
It is Like the
createComboBox(TermContainerPanel, String, String, boolean, String)
method but for a read-only component that, however, can get value for a
context parameter and that is enable to have its field saved in the save
action. |
static RadioButton |
createGroupMasterRadio(TermContainerPanel panel,
java.lang.String termName,
java.lang.String fieldName)
Creates a
RadioButton object with the role of datum holder (as master radio, indeed) and
adds it to the layout of a TermContainerPanel object. |
static JotyTextField |
createHiddenLong(TermContainerPanel panel,
java.lang.String termName) |
static JotyTextField |
createHiddenLong(TermContainerPanel panel,
java.lang.String termName,
java.lang.String paramName)
Creates an hidden
JotyTextField object and adds it to a
TermContainerPanel object |
static ImageComponent |
createImageComponent(TermContainerPanel panel,
java.lang.String termName,
java.lang.String mainImageField,
java.lang.String previewImageField,
java.lang.String fileExt,
java.lang.String verboseFileType)
Like the
createBlobComponent(TermContainerPanel, String, String, String, String)
but for the creation of an ImageComponent object and its
ImageTerm wrapper object. |
static List |
createList(Panel panel,
boolean masterList)
Creates a
List object and adds it to the layout of a
Panel object. |
static List |
createList(TermContainerPanel panel,
java.lang.String termName,
java.lang.String descrSetName,
java.lang.String dataTable,
java.lang.String dataSetDatumFld)
Creates a
List object and adds it to
the layout of a TermContainerPanel object. |
static JotyTextField |
createLongNum(TermContainerPanel panel,
java.lang.String termName,
java.lang.String fieldName) |
static JotyTextField |
createLongNum(TermContainerPanel panel,
java.lang.String termName,
java.lang.String fieldName,
int iSize)
Like the {link
createDate(TermContainerPanel, String, String) method but for a long integer number. |
static JotyTextField |
createMoney(TermContainerPanel panel,
java.lang.String termName,
java.lang.String fieldName)
Like the {link
createDate(TermContainerPanel, String, String) method but for a currency amount. |
static JotyTextField |
createNum(TermContainerPanel panel,
java.lang.String termName,
java.lang.String fieldName) |
static JotyTextField |
createNum(TermContainerPanel panel,
java.lang.String termName,
java.lang.String fieldName,
int iSize)
Like the {link
createDate(TermContainerPanel, String, String) method but for a integer number. |
static RadioButton |
createRadioForGroup(TermContainerPanel panel,
java.lang.String termName,
java.lang.String masterTermName)
Creates a
RadioButton object with the role of datum holder (as master radio, indeed) and
adds it to the layout of a TermContainerPanel object. |
static SearcherPanel |
createSearcherPanel(JotyDialog dialog) |
static Table |
createTable(Panel panel)
Creates a
Table . |
static Table |
createTable(TermContainerPanel panel,
java.lang.String termName)
Creates a
Table object and adds it to the layout of a
TermContainerPanel object. |
static Table |
createTable(TermContainerPanel panel,
java.lang.String termName,
java.lang.String dataTable,
java.lang.String dataSetDatumFld,
java.lang.String mainEntityKeyField,
java.lang.String mainTermName)
Creates a
Table object and adds it to the layout of a
TermContainerPanel object. |
static JotyTextField |
createText(TermContainerPanel panel,
java.lang.String termName,
java.lang.String fieldName,
int iSize)
Like the {link
createDate(TermContainerPanel, String, String)
method but for text. |
static TextArea |
createTextArea(TermContainerPanel panel,
java.lang.String termName,
java.lang.String fieldName,
int iSize)
Creates a
TextArea object to manage a date typed datum and adds
it to the layout of a TermContainerPanel object. |
static JotyTextField |
createTextRenderer(TermContainerPanel panel,
java.lang.String termName,
boolean loadOnly) |
static JotyTextField |
createTextRenderer(TermContainerPanel panel,
java.lang.String termName,
java.lang.String fieldName,
boolean loadOnly) |
static JotyTextField |
createTextRenderer(TermContainerPanel panel,
java.lang.String termName,
java.lang.String fieldName,
java.lang.String paramName,
int size,
boolean loadOnly)
/** It is Like the
createText(TermContainerPanel, String, String, int) method but
for a read-only component that, however, can get value for a context
parameter and that is enable to have its field saved in the save action. |
public static javax.swing.JPanel addAnalogicalRowSelector(DataScrollingPanel containerPanel, long rowKeyValue)
AnalogicalRowSelector
object to a DataScrollingPanel
instance.containerPanel
- the target container.rowKeyValue
- the value of the grid key corresponding to the row to which it is associated.public static CriteriaPanel addCriteriaPanel(CriteriaPanel criteriaPanel)
public static CriteriaPanel addCriteriaPanel(SearcherPanel searcherPanel, CriteriaPanel criteriaPanel)
searcherPanel
- criteriaPanel
- public static DataAccessPanel addDataAccessPanel(Panel contentPanel, DataAccessPanel panel)
DataAccessPanel
object to the layout of a Panel
object.contentPanel
- the target panelpanel
- the adding panelpublic static DataAccessPanel addDataAccessPanel(Panel contentPanel, DataAccessPanel panel, java.lang.String updateableSet)
contentPanel
- panel
- updateableSet
- public static DataAccessPanel addDataAccessPanel(Panel contentPanel, DataAccessPanel panel, java.lang.String updateableSet, java.lang.String completeSet)
DataAccessPanel
to the layout of a content panel.contentPanel
- panel
- updateableSet
- Used in the case the accessor mode in not set, this is the
expression of the updateable set (typically a database table
name). It can be null.completeSet
- Used in the case the accessor mode in not set, this is the
text of the database query that select the entire set of
fields. It can be null.public static void addComboToGrid(TermContainerPanel panel, java.lang.String fieldName, java.lang.String label, java.lang.String descrSetName)
TermContainerPanel
in which to resolve the value of a specified
integer upon a specified LiteralStruct
object.panel
- The panel which the grid is contained in.fieldName
- the database field namelabel
- the text in the table headerdescrSetName
- the name of the LiteralStruct objectpublic static void addDateTimeToGrid(TermContainerPanel panel, java.lang.String fieldName, java.lang.String label)
TermContainerPanel
for the specified database field.panel
- The panel which the grid is contained in.fieldName
- the database field namelabel
- the text in the table headerpublic static void addDateToGrid(TermContainerPanel panel, java.lang.String fieldName, java.lang.String label)
addDateTimeToGrid(org.joty.workstation.gui.TermContainerPanel, java.lang.String, java.lang.String)
method but for a date field.public static void addCheckToGrid(TermContainerPanel panel, java.lang.String fieldName, java.lang.String label)
addDateTimeToGrid(org.joty.workstation.gui.TermContainerPanel, java.lang.String, java.lang.String)
method but for a logic field.public static void addDecimalToGrid(TermContainerPanel panel, java.lang.String fieldName, java.lang.String label)
addDateTimeToGrid(org.joty.workstation.gui.TermContainerPanel, java.lang.String, java.lang.String)
method but for a decimal number field.public static void addLongNumToGrid(TermContainerPanel panel, java.lang.String fieldName, java.lang.String label)
addDateTimeToGrid(org.joty.workstation.gui.TermContainerPanel, java.lang.String, java.lang.String)
method but for a long integer field.public static void addNumToGrid(TermContainerPanel panel, java.lang.String fieldName, java.lang.String label)
addDateTimeToGrid(org.joty.workstation.gui.TermContainerPanel, java.lang.String, java.lang.String)
method but for a integer field.public static void addTextToGrid(TermContainerPanel panel, java.lang.String fieldName, int iSize, java.lang.String label)
addDateTimeToGrid(org.joty.workstation.gui.TermContainerPanel, java.lang.String, java.lang.String)
method but for a text field.public static void addTextToGrid(TermContainerPanel panel, java.lang.String fieldName, java.lang.String label)
addTextToGrid(org.joty.workstation.gui.TermContainerPanel, java.lang.String, int, java.lang.String)
method.public static SearcherPanel addSearcherPanel(Panel contentPanel, SearcherPanel panel)
SearcherPanel
to the layout of a contentPanel.public static DataAccessPanel addTab(TabbedPane tabbedPane, DataAccessPanel panel)
public static DataAccessPanel addTab(TabbedPane tabbedPane, DataAccessPanel panel, java.lang.String updateableSet)
public static DataAccessPanel addTab(TabbedPane tabbedPane, DataAccessPanel panel, java.lang.String updateableSet, java.lang.String completeSet)
TabbedPane
object and attach a specified
DataAccessPanel
object to it.tabbedPane
- the TabbedPane objectpanel
- the DataAccessPanel object to attach to added tabupdateableSet
- Used in the case the accessor mode in not set, this is the
expression of the updateable set (typically a database table
name) of the DataAccessPanel object. It can be null.completeSet
- Used in the case the accessor mode in not set, this is the
text of the database query (associated to the DataAccessPanel
object) that select the entire set of fields. It can be null.TabbedPane
,
DataAccessPanel
public static TermContainerPanel addTermContainerPanel(Panel contentPanel, TermContainerPanel panel)
m_dialog
assigned with the
JotyDialog
detected by the TermContainerPanel
specified.public static BufferedComboBoxTerm.BufferedComboBox createBufferedComboBox(TermContainerPanel panel, java.lang.String termName, java.lang.String fieldName)
BufferedComboBox
object and adds it to the layout of a
TermContainerPanel
object.panel
- the target paneltermName
- the name of the BufferedComboBoxTerm
object that will
be created by the method for wrapping the component.fieldName
- the database field nameBufferedComboBoxTerm.BufferedComboBox
,
TermContainerPanel
,
BufferedComboBoxTerm
public static CheckBox createCheck(TermContainerPanel panel, java.lang.String termName, java.lang.String fieldName)
CheckBox
object and adds it to the layout of a
TermContainerPanel
object.panel
- the target paneltermName
- the name of the CheckTerm
object that will be created
by the method for wrapping the component.fieldName
- the database field nameCheckBox
,
TermContainerPanel
,
CheckTerm
public static CheckBoxList createCheckBoxList(TermContainerPanel panel, java.lang.String termName, java.lang.String descrSetName, java.lang.String dataTable, java.lang.String dataSetDatumFld, java.lang.String mainEntityKeyField, java.lang.String mainTermName, boolean setLoadOnly)
CheckBoxList
object and adds it to the layout of a
TermContainerPanel
object.panel
- the target paneltermName
- the name of the CheckListTerm
object that will be
created by the method for wrapping the component.descrSetName
- the name of the LiteralStruct object used to populate the
verbose column of the object.dataTable
- used if the accessor mode is not set, is the expression of the
updateable set (typically a database table name)dataSetDatumFld
- the name of the database field that hosts the datum managed by
the CheckBoxes column.mainEntityKeyField
- possible name of the foreign key fieldmainTermName
- name of the Term (a CheckListTerm object that wraps another
component that behaves like a master selection component)setLoadOnly
- true if the component is required to make no store of data,
when the target panel is an instance of the
DataAccessPanel
and the 'save' command is dispatched
to it.CheckBoxList
,
TermContainerPanel
,
CheckListTerm
,
Application.LiteralStruct
public static ComboBox createComboBox(TermContainerPanel panel, java.lang.String termName, java.lang.String fieldName, boolean textValue, java.lang.String descrSetName)
ComboBox
object and adds it to the layout of a
TermContainerPanel
object.panel
- the target paneltermName
- the name of the ComboBoxTerm
object that will be
created by the method for wrapping the component.fieldName
- the database field namedescrSetName
- the name of the LiteralStruct object used to populate the object.ComboBox
,
TermContainerPanel
,
ComboBoxTerm
,
Application.LiteralStruct
public static JotyTextField createDate(TermContainerPanel panel, java.lang.String termName, java.lang.String fieldName)
JotyTextField
object to manage a date typed datum and
adds it to the layout of a TermContainerPanel
object.panel
- the target paneltermName
- the name of the TextTerm
object that will be created
by the method for wrapping the component.fieldName
- the database field nameJotyTextField
,
TermContainerPanel
,
TextTerm
public static JotyTextField createDateTime(TermContainerPanel panel, java.lang.String termName, java.lang.String fieldName)
createDate(TermContainerPanel, String, String)
method but for date time typed datum.public static JotyTextField createDecimal(TermContainerPanel panel, java.lang.String termName, java.lang.String fieldName)
public static JotyTextField createDecimal(TermContainerPanel panel, java.lang.String termName, java.lang.String fieldName, int iSize)
createDate(TermContainerPanel, String, String)
method but for a decimal number.iSize
- Is the number of character that can be inputed in the box. It can be omitted (if so zero is assumed that means no limit).public static JotyTextField createDateRenderer(TermContainerPanel panel, java.lang.String termName, boolean loadOnly)
public static JotyTextField createDateRenderer(TermContainerPanel panel, java.lang.String termName, java.lang.String fieldName, boolean loadOnly)
public static JotyTextField createDateRenderer(TermContainerPanel panel, java.lang.String termName, java.lang.String fieldName, java.lang.String paramName, boolean loadOnly)
createDate(TermContainerPanel, String, String)
method but for a read-only component that, however, can get value for a
context parameter and that is enable to have its field saved in the save
action.paramName
- name of the context parameter which the value is got fromloadOnly
- true if the database field doesn't receive value from the componentfieldName
- May be omitted only if paramName
is omitted tooParamContext
public static ComboBox createDescrRenderer(TermContainerPanel panel, java.lang.String termName, java.lang.String descrSetName, boolean loadOnly)
public static ComboBox createDescrRenderer(TermContainerPanel panel, java.lang.String termName, java.lang.String fieldName, java.lang.String descrSetName, boolean loadOnly)
public static ComboBox createDescrRenderer(TermContainerPanel panel, java.lang.String termName, java.lang.String fieldName, java.lang.String descrSetName, java.lang.String paramName, boolean loadOnly)
createComboBox(TermContainerPanel, String, String, boolean, String)
method but for a read-only component that, however, can get value for a
context parameter and that is enable to have its field saved in the save
action.paramName
- name of the context parameter which the value is got from. May be omitted.loadOnly
- true if the database field doesn't receive value from the componentfieldName
- May be omitted only if paramName
is omitted tooParamContext
public static JotyTextField createHiddenLong(TermContainerPanel panel, java.lang.String termName)
public static JotyTextField createHiddenLong(TermContainerPanel panel, java.lang.String termName, java.lang.String paramName)
JotyTextField
object and adds it to a
TermContainerPanel
objectpanel
- The target paneltermName
- the name of the TextTerm
object that will be created
by the method for wrapping the component.paramName
- name of the context parameter which the value is got from. May
be omitted.public static BlobComponent createBlobComponent(TermContainerPanel panel, java.lang.String termName, java.lang.String fieldName, java.lang.String fileExt, java.lang.String verboseFileType)
BlobComponent
object and adds it to the layout of a
TermContainerPanel
object.panel
- the target paneltermName
- the name of the BlobTerm
object that will be created
by the method for wrapping the component.fieldName
- the database field namefileExt
- the extension of the file as this will be saved by the
component.verboseFileType
- the file type as presented by the
BlobComponent.buildFileChooser
BlobComponent
,
TermContainerPanel
,
BlobTerm
,
BlobComponent.buildFileChooser(java.lang.String, boolean)
public static ImageComponent createImageComponent(TermContainerPanel panel, java.lang.String termName, java.lang.String mainImageField, java.lang.String previewImageField, java.lang.String fileExt, java.lang.String verboseFileType)
createBlobComponent(TermContainerPanel, String, String, String, String)
but for the creation of an ImageComponent
object and its
ImageTerm
wrapper object.mainImageField
- the name of the database field holding the actual imagepreviewImageField
- the name of the database field holding the preview imageImageComponent
,
ImageTerm
public static List createList(Panel panel, boolean masterList)
List
object and adds it to the layout of a
Panel
object.public static List createList(TermContainerPanel panel, java.lang.String termName, java.lang.String descrSetName, java.lang.String dataTable, java.lang.String dataSetDatumFld)
List
object and adds it to
the layout of a TermContainerPanel
object.panel
- the target paneltermName
- the name of the ListTerm
object that will be created
by the method for wrapping the component.descrSetName
- the name of the LiteralStruct object used to populate the
object. It may be null.dataTable
- May be used if DescrSetName
is null. It is
used if the accessor mode is not set. It is the expression of the
updateable set (typically a database table name).dataSetDatumFld
- May be used if DescrSetName
is null. It is the name of the database field that hosts the datum
associated to the buffer row key.List
,
TermContainerPanel
,
ListTerm
public static JotyTextField createLongNum(TermContainerPanel panel, java.lang.String termName, java.lang.String fieldName)
public static JotyTextField createLongNum(TermContainerPanel panel, java.lang.String termName, java.lang.String fieldName, int iSize)
createDate(TermContainerPanel, String, String)
method but for a long integer number.iSize
- Is the number of character that can be inputed in the box. It can be omitted (zero is assumed).public static JotyTextField createMoney(TermContainerPanel panel, java.lang.String termName, java.lang.String fieldName)
createDate(TermContainerPanel, String, String)
method but for a currency amount.public static JotyTextField createNum(TermContainerPanel panel, java.lang.String termName, java.lang.String fieldName)
public static JotyTextField createNum(TermContainerPanel panel, java.lang.String termName, java.lang.String fieldName, int iSize)
createDate(TermContainerPanel, String, String)
method but for a integer number.iSize
- Is the number of character that can be inputed in the box. It can be omitted (if so zero is assumed that means no limit).public static RadioButton createGroupMasterRadio(TermContainerPanel panel, java.lang.String termName, java.lang.String fieldName)
RadioButton
object with the role of datum holder (as master radio, indeed) and
adds it to the layout of a TermContainerPanel
object.panel
- the target paneltermName
- the name of the MasterRadioTerm
object that will be created
by the method for wrapping the component.fieldName
- the database field name holding the datum (an integer)RadioButton
,
TermContainerPanel
,
MasterRadioTerm
public static RadioButton createRadioForGroup(TermContainerPanel panel, java.lang.String termName, java.lang.String masterTermName)
RadioButton
object with the role of datum holder (as master radio, indeed) and
adds it to the layout of a TermContainerPanel
object.panel
- the target paneltermName
- the name of the RadioTerm
object that will be created
by the method for wrapping the component.masterTermName
- the name of the Term
object that wraps the master radioRadioButton
,
TermContainerPanel
,
RadioTerm
public static SearcherPanel createSearcherPanel(JotyDialog dialog)
public static Table createTable(Panel panel)
Table
. A GridManager
object is also created and
the Table object is assigned to it.panel
- the Panel object to which the created GridManager instance is assignedpublic static Table createTable(TermContainerPanel panel, java.lang.String termName)
Table
object and adds it to the layout of a
TermContainerPanel
object.panel
- the target paneltermName
- the name of the TableTerm
object that will
be created by the method for wrapping the component.Table
,
TermContainerPanel
,
TableTerm
public static Table createTable(TermContainerPanel panel, java.lang.String termName, java.lang.String dataTable, java.lang.String dataSetDatumFld, java.lang.String mainEntityKeyField, java.lang.String mainTermName)
Table
object and adds it to the layout of a
TermContainerPanel
object.panel
- the target paneltermName
- the name of the TableTerm
object that will be created
by the method for wrapping the component.dataTable
- It is used if the accessor mode is not set. It is the
expression of the updateable set (typically a database table
name).dataSetDatumFld
- It is the name of the database field that hosts the datum,
usually is the id of the set used to populate the rows.
associated to the buffer row key.Table
,
TermContainerPanel
,
TableTerm
public static JotyTextField createText(TermContainerPanel panel, java.lang.String termName, java.lang.String fieldName, int iSize)
createDate(TermContainerPanel, String, String)
method but for text.iSize
- Is the number of character that can be inputed in the box. It
can be omitted (zero is assumed).public static TextArea createTextArea(TermContainerPanel panel, java.lang.String termName, java.lang.String fieldName, int iSize)
TextArea
object to manage a date typed datum and adds
it to the layout of a TermContainerPanel
object.panel
- the target paneltermName
- the name of the TextAreaTerm
object that will be created
by the method for wrapping the component.fieldName
- the database field nameiSize
- Is the number of character that can be inputed in the box.TextArea
,
TermContainerPanel
,
TextAreaTerm
public static JotyTextField createTextRenderer(TermContainerPanel panel, java.lang.String termName, boolean loadOnly)
public static JotyTextField createTextRenderer(TermContainerPanel panel, java.lang.String termName, java.lang.String fieldName, boolean loadOnly)
public static JotyTextField createTextRenderer(TermContainerPanel panel, java.lang.String termName, java.lang.String fieldName, java.lang.String paramName, int size, boolean loadOnly)
createText(TermContainerPanel, String, String, int)
method but
for a read-only component that, however, can get value for a context
parameter and that is enable to have its field saved in the save action.paramName
- name of the context parameter which the value is got from. May
be omitted.loadOnly
- true if the database field doesn't receive value from the
componentfieldName
- May be omitted only if paramName
is omitted tooParamContext