| Modifier and Type | Method and Description |
|---|---|
DialogObjectConstant |
DialogObjectConstant.getLabelComponent()
Return this dialog object's label component (if applicable).
|
| Modifier and Type | Method and Description |
|---|---|
Map<DialogObjectConstant,Collection<?>> |
DialogController.getConversionMessages(RoleConstant role)
Get a map of dialog objects and conversion error messages for the
specified role.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
DialogController.getFieldValue(DialogObjectConstant dataItem)
Gets the specified displayed field value (converted from to model).
|
void |
DialogController.setFieldValue(DialogObjectConstant field,
Object value)
Set the specified field value.
|
void |
DialogController.setFieldValue(DialogObjectConstant field,
Object fieldValue,
boolean changed)
Set the specified field value and field changed status.
|
| Modifier and Type | Method and Description |
|---|---|
DialogObjectConstant |
FieldConvertContext.getDialogObjectConstant() |
| Modifier and Type | Method and Description |
|---|---|
Map<DialogObjectConstant,Collection<?>> |
FrameworkConversionException.getMessages()
Get the map of field that failed conversion and the corresponding message
|
| Constructor and Description |
|---|
FieldConvertContext(DialogController dCtrl,
DialogObjectConstant dObjectConstant)
Constructs a new ValidationContext
|
| Constructor and Description |
|---|
FrameworkConversionException(Map<DialogObjectConstant,Collection<?>> messages)
Construct a new framework conversion exception.
|
| Modifier and Type | Method and Description |
|---|---|
DialogObjectConstant |
FieldMessageContext.getField() |
| Modifier and Type | Method and Description |
|---|---|
static List<DialogObjectConstant> |
DialogObjectConstantHelper.getTabOrder(DialogObjectConstant windowBlock)
Get the tab order for a window block.
|
| Modifier and Type | Method and Description |
|---|---|
int |
TabIndexComparator.compare(DialogObjectConstant o1,
DialogObjectConstant o2) |
static Object |
MessageTextHelper.getLabelTextForField(DialogView dialog,
DialogObjectConstant attribute) |
static List<DialogObjectConstant> |
DialogObjectConstantHelper.getTabOrder(DialogObjectConstant windowBlock)
Get the tab order for a window block.
|
static boolean |
DialogObjectConstantHelper.isAutoCompleteEntry(DialogObjectConstant field)
Check if widget type is ace_AutoCompleteEntry.
|
static boolean |
DialogObjectConstantHelper.isDateTimeEntry(DialogObjectConstant field)
Check if widget type is ace_DateTimeEntry.
|
static boolean |
DialogObjectConstantHelper.isJavaTimeType(DialogObjectConstant field)
Check if attribute type is of Java time.
|
static boolean |
DialogObjectConstantHelper.isJodaType(DialogObjectConstant field)
Check if attribute type is Joda DateTime.
|
static boolean |
DialogObjectConstantHelper.isLocalDate(DialogObjectConstant field)
Check if attribute type is LocalDate.
|
static boolean |
DialogObjectConstantHelper.isLocalDateTime(DialogObjectConstant field)
Check if attribute type is LocalDateTime.
|
static boolean |
DialogObjectConstantHelper.isLocalTime(DialogObjectConstant field)
Check if attribute type is LocalTime.
|
| Modifier and Type | Method and Description |
|---|---|
DialogObjectConstant |
ValidateContext.getDialogObjectConstant() |
DialogObjectConstant |
ValidateContext.getField() |
| Constructor and Description |
|---|
ValidateContext(DialogController dCtrl,
DialogObjectConstant dObjectConstant)
Constructs a new ValidationContext
|
ValidateContext(DialogController dCtrl,
DialogObjectConstant dialogObject,
ActionType actionType)
Construct a new Validate Context.
|
ValidateContext(DialogController dCtrl,
ListRow lRow,
DialogObjectConstant dObjectConstant)
Constructs a new ValidationContext
|
ValidateContext(DialogController dCtrl,
ListRow lRow,
DialogObjectConstant dObjectConstant,
ActionType action)
Construct a new Validation Context.
|
| Modifier and Type | Method and Description |
|---|---|
DialogObjectConstant |
DialogView.getCurrentNotebookPage(DialogObjectConstant notebook)
Get the current page for the given Notebook.
|
DialogObjectConstant |
DialogView.getDefaultButton()
Get the current default button for the dialog.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<DialogObjectConstant> |
ViewModel.getAttributeFields(AttributeConstant attribute)
Get all fields which display values for the given attribute.
|
Collection<DialogObjectConstant> |
ViewModel.getChangedFields()
Get a collection of all changed fields for the dialog, ie.
|
List<DialogObjectConstant> |
DialogView.getDialogObjectConstants()
Returns the list of all dialog object constants for the dialog.
|
abstract Collection<DialogObjectConstant> |
ListRow.getFields() |
Collection<DialogObjectConstant> |
ViewModel.getRoleFields(RoleConstant role)
Get the collection of fields for the given role.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ListRow.clear(DialogObjectConstant dialogObject,
Property<?> property) |
void |
PropertyManager.clear(DialogObjectConstant dialogObject,
Property<?> property)
Clear the specified property of the specified dialog object.
|
void |
ListRow.clearAll(DialogObjectConstant dialogConstant) |
void |
PropertyManager.clearAll(DialogObjectConstant dialogConstant)
Clear all properties belonging to the specified dialog object.
|
void |
DialogView.clearObject(DialogObjectConstant target)
Clear the given dialog object.
|
void |
DialogView.disable(DialogObjectConstant target)
Disable the given dialog object.
|
void |
DialogView.dispatchEvent(ListRow listRow,
DialogObjectConstant trigger,
Object event,
String method)
Dispatch an event to the dialog controller.
|
void |
DialogView.enable(DialogObjectConstant target)
Enable the given dialog object.
|
<M,T> AttributeConverter<M,T> |
ViewModel.getConverter(DialogObjectConstant field)
Get the converter for the given field.
|
DialogObjectConstant |
DialogView.getCurrentNotebookPage(DialogObjectConstant notebook)
Get the current page for the given Notebook.
|
Object |
DialogView.getEffect(DialogObjectConstant target)
Get the effect object for the given dialog object.
|
Object |
ViewModel.getFieldValue(DialogObjectConstant field)
Gets the specified field value.
Note: The field value is the value as seen from the model. |
static StringProperty |
StringProperty.getInstance(DialogObjectConstant dialogObject,
String key)
Get the instance representing the specified property for on the specified
dialog object.
|
boolean |
DialogView.getMandatory(DialogObjectConstant target)
Get the mandatory property for the given dialog object.
|
<T> T |
ListRow.getProperty(DialogObjectConstant dialogObject,
Property<T> property) |
<T> T |
PropertyManager.getProperty(DialogObjectConstant dialogObject,
Property<T> property)
Get the specified property value.
|
String |
DialogView.getTitle(DialogObjectConstant dialogObject)
Get the message title property for the specified dialog object.
|
<T extends TreeNode,L extends ListRow> |
ViewModel.getTreeModel(DialogObjectConstant attribute)
Get the TreeModel for the given treeview.
|
FieldValidator |
ViewModel.getValidator(DialogObjectConstant field)
Get the validator for the given field.
|
Object |
ListRow.getValue(DialogObjectConstant field)
Get the value for the given field.
|
Object |
DialogView.getWidgetProperty(DialogObjectConstant target,
String key)
Get a property value for a widget.
|
void |
DialogView.hide(DialogObjectConstant target)
Hide the given dialog object.
|
boolean |
ViewModel.isChanged(DialogObjectConstant field)
Return the changed status for the given field.
|
boolean |
DialogView.isEditable(DialogObjectConstant target)
Check if the given dialog object is editable.
|
boolean |
DialogView.isEnabled(DialogObjectConstant target)
Check if the given dialog object is enabled.
|
boolean |
DialogView.isMandatory(DialogObjectConstant target)
Check if the given dialog object is mandatory.
|
boolean |
ListRow.isPropertySet(DialogObjectConstant dialogObject,
Property<?> property) |
boolean |
PropertyManager.isPropertySet(DialogObjectConstant dialogObject,
Property<?> property)
Test if a property is set.
|
boolean |
DialogView.isShown(DialogObjectConstant target)
Check if the given dialog object is shown.
|
String |
ListRow.listProperties(DialogObjectConstant dialogObject) |
String |
PropertyManager.listProperties(DialogObjectConstant dialogObject)
List all managed properties for the specified dialog object.
|
void |
DialogView.performAction(ActionType action,
DialogObjectConstant target)
Perform the specified action.
|
void |
ViewModel.setChanged(DialogObjectConstant field,
boolean changed)
Set the changed status for the given field.
|
void |
DialogView.setCurrentNotebookPage(DialogObjectConstant notebook,
DialogObjectConstant page)
Set the current Notebook page to show.
|
void |
DialogView.setDefaultButton(DialogObjectConstant defaultButton)
Set the new default button for the dialog.
|
void |
DialogView.setEditable(DialogObjectConstant target,
boolean value)
Set the editable property for the given dialog object.
|
void |
DialogView.setEffect(DialogObjectConstant target,
Object effect)
Set the effect object for the given dialog object.
|
void |
ViewModel.setFieldValue(DialogObjectConstant field,
Object fieldValue)
Displays the specified field value.
|
void |
DialogView.setMandatory(DialogObjectConstant target,
boolean value)
Set the mandatory property for the given dialog object.
|
<T> void |
ListRow.setProperty(DialogObjectConstant dialogObject,
Property<T> property,
T value) |
<T> void |
PropertyManager.setProperty(DialogObjectConstant dialogObject,
Property<T> property,
T value)
Set the specified property.
|
void |
DialogView.setProperty(DialogObjectConstant target,
String key,
Object value)
Set a property for the given dialog component.
|
void |
ViewModel.setTreeModel(DialogObjectConstant attribute,
TreeModel<? extends TreeNode,? extends ListRow> treeModel)
Set the TreeModel for the given treeview.
|
void |
ListRow.setValue(DialogObjectConstant field,
Object value)
Set the value for the given field.
|
void |
DialogView.setWidgetProperty(DialogObjectConstant target,
String key,
Object value)
Set the given property value for a widget.
|
void |
DialogView.show(DialogObjectConstant target)
Show the given dialog object.
|
| Modifier and Type | Method and Description |
|---|---|
DialogObjectConstant |
ListRowComparator.getColumn()
Get the column used when comparing rows.
|
DialogObjectConstant |
RowFilter.getColumn()
Get the column this filter applies to.
|
DialogObjectConstant |
DefaultTableModel.getFirstSortingColumn() |
DialogObjectConstant |
TableModel.getFirstSortingColumn()
Get the column that is first in the sorting sequence.
|
| Modifier and Type | Method and Description |
|---|---|
static <U extends Comparable<U>,T extends ListRow> |
RowFilter.comparableFilter(DialogObjectConstant column,
U filterValue,
RowFilter.FilterType filterType)
Create a filter that uses a java.lang.Comparable filter value.
|
<U> U |
DefaultTableModel.getCellProperty(int rowIndex,
DialogObjectConstant columnIdentifier,
Property<U> propertyName) |
<U> U |
TableModel.getCellProperty(int rowIndex,
DialogObjectConstant columnIdentifier,
Property<U> propertyName)
Get the property value for the specified cell.
|
Object |
DefaultTableModel.getValueAt(int rowIndex,
DialogObjectConstant columnIdentifier) |
Object |
TableModel.getValueAt(int rowIndex,
DialogObjectConstant columnIdentifier)
Get the cell value at the specified row and column.
|
boolean |
DefaultTableModel.isCellEnabled(int rowIndex,
DialogObjectConstant columnIdentifier) |
boolean |
TableModel.isCellEnabled(int rowIndex,
DialogObjectConstant columnIdentifier)
Get the enabled property value of the specified cell.
|
boolean |
DefaultTableModel.isCellShown(int rowIndex,
DialogObjectConstant columnIdentifier) |
boolean |
TableModel.isCellShown(int rowIndex,
DialogObjectConstant columnIdentifier)
Get the shown property value of the specified cell.
|
static <T extends ListRow> |
RowFilter.regexpFilter(DialogObjectConstant column,
String regexp)
Create a filter that uses the a regular expression to filter values.
|
void |
DefaultTableModel.setCellEnabled(int rowIndex,
DialogObjectConstant columnIdentifier,
boolean enabled) |
void |
TableModel.setCellEnabled(int rowIndex,
DialogObjectConstant columnIdentifier,
boolean enabled)
Set the enabled property the specified cell.
|
<U> void |
DefaultTableModel.setCellProperty(int rowIndex,
DialogObjectConstant columnIdentifier,
Property<U> propertyName,
U propertyValue) |
<U> void |
TableModel.setCellProperty(int rowIndex,
DialogObjectConstant columnIdentifier,
Property<U> propertyName,
U propertyValue)
Set the specified property on the specified cell.
|
void |
DefaultTableModel.setCellShown(int rowIndex,
DialogObjectConstant columnIdentifier,
boolean shown) |
void |
TableModel.setCellShown(int rowIndex,
DialogObjectConstant columnIdentifier,
boolean shown)
Set the shown property the specified cell.
|
void |
DefaultTableModel.setColumnEnabled(DialogObjectConstant columnIdentifier,
boolean enabled) |
void |
TableModel.setColumnEnabled(DialogObjectConstant columnIdentifier,
boolean enabled)
Set the enabled property for all cells in the specified column.
|
<U> void |
DefaultTableModel.setColumnProperty(DialogObjectConstant columnIdentifier,
Property<U> propertyName,
U value) |
<U> void |
TableModel.setColumnProperty(DialogObjectConstant columnIdentifier,
Property<U> propertyName,
U value)
Set the specified property on all cells in the column.
|
void |
DefaultTableModel.setColumnShown(DialogObjectConstant columnIdentifier,
boolean shown) |
void |
TableModel.setColumnShown(DialogObjectConstant columnIdentifier,
boolean shown)
Set the shown property for all cells in the specified column.
|
void |
DefaultTableModel.setFirstSortingColumn(DialogObjectConstant column) |
void |
TableModel.setFirstSortingColumn(DialogObjectConstant column)
Use the specified column first when comparing list rows.
|
void |
DefaultTableModel.setValueAt(int rowIndex,
DialogObjectConstant columnIdentifier,
Object value) |
void |
TableModel.setValueAt(int rowIndex,
DialogObjectConstant columnIdentifier,
Object value)
Set the specified cell value.
|
| Constructor and Description |
|---|
DefaultTableModel(DialogObjectConstant[] columns,
ViewModel viewModel)
Create a new table model based on the specified columns.
|
ListRowComparator(DialogObjectConstant column,
int initialPriority)
Creates a new ListRowComparator that will use values in the specified
column when comparing rows.
|
ListRowComparator(DialogObjectConstant column,
int initialPriority,
ListRowComparator.Sorting sortDirection)
Creates a new ListRowComparator that will use values in the specified
column when comparing rows.
|
RowFilter(DialogObjectConstant column,
U filterValue)
Create a new row filter.
|
| Constructor and Description |
|---|
DefaultTableModel(List<DialogObjectConstant> columns,
ViewModel viewModel)
Create a new table model based on the specified columns.
|
| Modifier and Type | Method and Description |
|---|---|
DialogObjectConstant |
TreeNode.getNodeConst()
Returns the dialog object constant for a node.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TreeModel.addTreeNodeComparator(DialogObjectConstant nodeConst,
TreeNodeComparator comparator)
Set the TreeNodeComparator to use when sorting this tree model.
|
<U> U |
TreeModel.getCellProperty(T node,
DialogObjectConstant columnIdentifier,
Property<U> propertyName)
Get the property value for the specified cell.
|
Object |
TreeModel.getValueAt(T node,
DialogObjectConstant columnIdentifier)
Get the cell value at the specified node and column.
|
boolean |
TreeModel.isCellEnabled(T node,
DialogObjectConstant columnIdentifier)
Get the enabled property value of the specified cell.
|
boolean |
TreeModel.isCellShown(T node,
DialogObjectConstant columnIdentifier)
Get the shown property value of the specified cell.
|
void |
TreeModel.setCellEnabled(T node,
DialogObjectConstant columnIdentifier,
boolean enabled)
Set the enabled property the specified cell.
|
<U> void |
TreeModel.setCellProperty(T node,
DialogObjectConstant columnIdentifier,
Property<U> propertyName,
U propertyValue)
Set the specified property on the specified cell.
|
void |
TreeModel.setCellShown(T node,
DialogObjectConstant columnIdentifier,
boolean shown)
Set the shown property the specified cell.
|
void |
TreeModel.setColumnEnabled(DialogObjectConstant columnIdentifier,
boolean enabled)
Set the enabled property for all cells in the specified column.
|
<U> void |
TreeModel.setColumnProperty(DialogObjectConstant columnIdentifier,
Property<U> propertyName,
U value)
Set the specified property on all cells in the column.
|
void |
TreeModel.setColumnShown(DialogObjectConstant columnIdentifier,
boolean shown)
Set the shown property for all cells in the specified column.
|
void |
TreeModel.setValueAt(T node,
DialogObjectConstant columnIdentifier,
Object value)
Set the specified cell value.
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<DialogObjectConstant,ExportElement> |
G9ExcelExporter.elements
Holds all the elements that is part of a dialog.
|
| Modifier and Type | Method and Description |
|---|---|
DialogObjectConstant |
TableColumnData.getDiaConst()
Gets the column's
DialogObjectConstant. |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.poi.ss.usermodel.Cell |
G9ExcelExporter.createCell(DialogObjectConstant dialogElement,
org.apache.poi.ss.usermodel.Sheet sheet,
G9ExcelCell offset,
boolean isLabel,
int colIndex,
short alignment)
Creates the cell for the element.
|
protected org.apache.poi.ss.usermodel.Cell |
G9ExcelExporter.createCell(DialogObjectConstant dialogElement,
org.apache.poi.ss.usermodel.Sheet sheet,
G9ExcelCell offset,
boolean isLabel,
int colIndex,
String columnTitle,
short alignment)
Creates the cell for the element.
|
protected org.apache.poi.ss.usermodel.Cell |
G9ExcelExporter.createCell(DialogObjectConstant dialogElement,
org.apache.poi.ss.usermodel.Sheet sheet,
G9ExcelCell offset,
boolean isLabel,
short alignment)
Creates a cell for the given element.
|
protected G9ExcelCell |
G9ExcelExporter.createTable(ObjectSelection os,
RoleConstant targetRole,
List<TableColumnData> columnDataList,
org.apache.poi.ss.usermodel.Sheet sheet,
G9ExcelCell initialCell,
boolean showHeader,
DialogObjectConstant doc)
Creates cells for a table.
|
protected G9ExcelCell |
G9ExcelExporter.getMaxCell(DialogObjectConstant[] dialogElements,
G9ExcelCell offset)
Gets the maximum cell obtained when combining the provided offset with one of the dialog elements
|
protected G9ExcelCell |
G9ExcelExporter.getNextAvailableCell(DialogObjectConstant[] dialogElements,
G9ExcelCell offset)
Gets the next available cell.
|
protected static boolean |
G9ExcelExporter.hookFilterElement(DialogObjectConstant dialogElement,
Object domainObject)
Lets user code filter the data for this dialog element.
|
protected void |
G9ExcelExporter.setCellData(DialogObjectConstant dialogElement,
Object domainObject,
org.apache.poi.ss.usermodel.Cell cell,
String dateFormat)
Adds data to a specific cell.
|
| Constructor and Description |
|---|
TableColumnData(DialogObjectConstant diaConst,
short cellAlignment,
String cellFormat,
String bcMethod,
int sortIndex,
ListRowComparator.Sorting sorting)
Assigns the provided data to the class' global variables.
|
Copyright © 2006–2017 Esito AS. All rights reserved.