Modifier and Type | Method and Description |
---|---|
protected List<Field> |
CollectionGroupBuilder.processAnyRemoteFieldsHolder(View view,
Object model,
CollectionGroup group,
List<? extends Component> items)
Iterates through the given items checking for
RemotableFieldsHolder , if found
the holder is invoked to retrieved the remotable fields and translate to attribute fields. |
protected List<Field> |
CollectionGroupBuilder.removeNonRenderLineFields(View view,
Object model,
CollectionGroup collectionGroup,
List<Field> lineFields,
Object currentLine,
int lineIndex)
Evaluates the render property for the given list of
Field
instances for the line and removes any fields from the returned list that
have render false. |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
CollectionGroupBuilder.getContextForField(View view,
CollectionGroup collectionGroup,
Field field)
Helper method to build the context for a field (needed because the apply model phase for line fields has
not been applied yet and their full context not set)
|
Modifier and Type | Method and Description |
---|---|
protected void |
CollectionGroupBuilder.applyLineFieldAuthorizationAndPresentationLogic(View view,
ViewModel model,
CollectionGroup collectionGroup,
Object line,
boolean readOnlyLine,
List<Field> lineFields,
List<Action> actions)
Iterates through the line fields and checks the view field authorization using the view's configured authorizer
and presentation controller.
|
protected List<Field> |
CollectionGroupBuilder.removeNonRenderLineFields(View view,
Object model,
CollectionGroup collectionGroup,
List<Field> lineFields,
Object currentLine,
int lineIndex)
Evaluates the render property for the given list of
Field
instances for the line and removes any fields from the returned list that
have render false. |
Modifier and Type | Class and Description |
---|---|
class |
ActionField
Field that encloses an @{link org.kuali.rice.krad.uif.element.Action} element
|
class |
DataField
Field that renders data from the application, such as the value of a data object property
|
class |
FieldBase
Base class for
Field implementations |
class |
FieldGroup
Field that contains a nested
Group . |
class |
GenericField
Field whose output is produced by invoking a method or template and has no
properties (generic)
|
class |
ImageField
Field that wraps an image content element.
|
class |
InputField
Field that encapsulates data input/output captured by an attribute within the
application
|
class |
LinkField
Field that encloses a link element
|
class |
LookupInputField
Custom
InputField for search fields within a lookup view |
class |
MessageField
Field wrapper for a Message
|
class |
SpaceField
Field that produces only a space
|
Modifier and Type | Method and Description |
---|---|
Field |
TableLayoutManager.getSelectFieldPrototype()
Field instance that serves as a prototype for creating the select field on each line when
CollectionGroup.isIncludeLineSelectionField() is
true |
Field |
StackedLayoutManager.getSelectFieldPrototype()
Field instance that serves as a prototype for creating the select field on each line when
CollectionGroup.isIncludeLineSelectionField() is true |
Field |
TableLayoutManager.getSequenceFieldPrototype()
Field instance to serve as a prototype for the sequence field. |
protected Field |
TableLayoutManager.setupTotalField(Field totalField,
ColumnCalculationInfo cInfo,
boolean show,
Label leftLabel,
String type,
int leftLabelColumnIndex)
Setup the totalField with the columnCalculationInfo(cInfo) passed in.
|
Modifier and Type | Method and Description |
---|---|
List<Field> |
TableLayoutManager.getAllRowFields()
List of
Field instances that make up all the table's rows of data |
List<Field> |
TableLayoutManager.getFirstRowFields()
List of
Field instances that make us the table's first row of data |
Modifier and Type | Method and Description |
---|---|
protected void |
TableLayoutManager.addHeaderField(Field field,
String idSuffix,
int column)
Creates a new instance of the header field prototype and then sets the label to the short (if
useShortLabels is set to true) or long label of the given component.
|
static void |
CollectionLayoutUtils.prepareSelectFieldForLine(Field selectField,
CollectionGroup collectionGroup,
String lineBindingPath,
Object line) |
protected static void |
CollectionLayoutUtils.setControlValueToLineIdentifier(Field selectField,
Object line) |
void |
TableLayoutManager.setSelectFieldPrototype(Field selectFieldPrototype)
Setter for the prototype instance for select fields
|
void |
StackedLayoutManager.setSelectFieldPrototype(Field selectFieldPrototype)
Setter for the prototype instance for select fields
|
void |
TableLayoutManager.setSequenceFieldPrototype(Field sequenceFieldPrototype)
Setter for the sequence field prototype
|
protected Field |
TableLayoutManager.setupTotalField(Field totalField,
ColumnCalculationInfo cInfo,
boolean show,
Label leftLabel,
String type,
int leftLabelColumnIndex)
Setup the totalField with the columnCalculationInfo(cInfo) passed in.
|
Modifier and Type | Method and Description |
---|---|
void |
TableLayoutManager.buildLine(View view,
Object model,
CollectionGroup collectionGroup,
List<Field> lineFields,
List<FieldGroup> subCollectionFields,
String bindingPath,
List<Action> actions,
String idSuffix,
Object currentLine,
int lineIndex)
Assembles the field instances for the collection line.
|
void |
StackedLayoutManager.buildLine(View view,
Object model,
CollectionGroup collectionGroup,
List<Field> lineFields,
List<FieldGroup> subCollectionFields,
String bindingPath,
List<Action> actions,
String idSuffix,
Object currentLine,
int lineIndex)
Builds a
Group instance for a collection line. |
void |
CollectionLayoutManager.buildLine(View view,
Object model,
CollectionGroup collectionGroup,
List<Field> lineFields,
List<FieldGroup> subCollectionFields,
String bindingPath,
List<Action> actions,
String idSuffix,
Object currentLine,
int lineIndex)
Call to the layout manager to build the components necessary for the
given collection line
|
protected void |
TableLayoutManager.buildTableHeaderRows(CollectionGroup collectionGroup,
List<Field> lineFields)
Create the
Label instances that will be used to render the table header |
protected int |
TableLayoutManager.calculateNumberOfRows(List<? extends Field> items)
Calculates how many rows will be needed per collection line to display the list of fields.
|
void |
TableLayoutManager.setAllRowFields(List<Field> allRowFields)
Set the row fields
|
void |
TableLayoutManager.setFirstRowFields(List<Field> firstRowFields)
Set the first row fields
|
Modifier and Type | Method and Description |
---|---|
static <T extends Field> |
ComponentUtils.bindAndIdFieldList(List<T> fields,
String addBindingPrefix,
String idSuffix)
Equivalent to
ComponentUtils.copyFieldList(java.util.List, String, String) but does not copy the given list of fields
first. |
static <T extends Field> |
ComponentUtils.copyFieldList(List<T> fields,
String idSuffix) |
static <T extends Field> |
ComponentUtils.copyFieldList(List<T> fields,
String addBindingPrefix,
String idSuffix) |
Modifier and Type | Method and Description |
---|---|
static void |
ComponentUtils.prefixBindingPath(List<? extends Field> fields,
String addBindingPrefix) |
Modifier and Type | Method and Description |
---|---|
boolean |
ViewPresentationControllerBase.canEditField(View view,
ViewModel model,
Field field,
String propertyName) |
boolean |
ViewPresentationController.canEditField(View view,
ViewModel model,
Field field,
String propertyName)
Determines if the given field within the view is allowed to be edited
|
boolean |
ViewAuthorizerBase.canEditField(View view,
ViewModel model,
Field field,
String propertyName,
Person user) |
boolean |
ViewAuthorizer.canEditField(View view,
ViewModel model,
Field field,
String propertyName,
Person user) |
boolean |
ViewPresentationControllerBase.canEditLineField(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
Field field,
String propertyName) |
boolean |
ViewPresentationController.canEditLineField(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
Field field,
String propertyName) |
boolean |
ViewAuthorizerBase.canEditLineField(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
Field field,
String propertyName,
Person user) |
boolean |
ViewAuthorizer.canEditLineField(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
Field field,
String propertyName,
Person user) |
boolean |
ViewPresentationControllerBase.canViewField(View view,
ViewModel model,
Field field,
String propertyName) |
boolean |
ViewPresentationController.canViewField(View view,
ViewModel model,
Field field,
String propertyName)
Determines if the given field within the view is allowed to be viewed
|
boolean |
ViewAuthorizerBase.canViewField(View view,
ViewModel model,
Field field,
String propertyName,
Person user) |
boolean |
ViewAuthorizer.canViewField(View view,
ViewModel model,
Field field,
String propertyName,
Person user) |
boolean |
ViewPresentationControllerBase.canViewLineField(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
Field field,
String propertyName) |
boolean |
ViewPresentationController.canViewLineField(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
Field field,
String propertyName) |
boolean |
ViewAuthorizerBase.canViewLineField(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
Field field,
String propertyName,
Person user) |
boolean |
ViewAuthorizer.canViewLineField(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
Field field,
String propertyName,
Person user) |
boolean |
ViewPresentationControllerBase.fieldIsRequired(View view,
ViewModel model,
Field field,
String propertyName) |
boolean |
ViewPresentationController.fieldIsRequired(View view,
ViewModel model,
Field field,
String propertyName)
Determines if a value is required to be present for the given field (used to indicate in the client the
field must be completed)
|
protected Map<String,String> |
ViewAuthorizerBase.getFieldPermissionDetails(View view,
Object dataObject,
Field field)
Builds the permission details map for a field which includes the component namespace, component name, and
field id, in addition to property name for data binding fields
|
Modifier and Type | Method and Description |
---|---|
String |
RichTable.getCellValue(Object model,
Field field)
Get the simple value as a string that represents the field's sortable value, to be used as
val in the custom uif json data object (accessed by mDataProp option on datatables -
automated by framework) when using the forceLocalJsonData option or the CollectionGroup's
isUseServerPaging option
|
Modifier and Type | Method and Description |
---|---|
static String |
KRADUtils.getSimpleFieldValue(Object model,
Field field)
Attempts to extract a string value out of the field passed in, varies depending on field type
|
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.