com.jaxfront.core.xui
Class ListInfo

java.lang.Object
  extended by com.jaxfront.core.xui.ListInfo
All Implemented Interfaces:
XUIElementPaths, XUITypes
Direct Known Subclasses:
TableInfo

public class ListInfo
extends java.lang.Object
implements XUITypes, XUIElementPaths

Defines the style of the visual representation of a list type.

Version:
1.60
See Also:
com.jaxfront.ui.FlipOrientationTableModel

Field Summary
 
Fields inherited from interface com.jaxfront.core.xui.XUIElementPaths
BEHAVIOUR_DEFINITION_PATH, CAPTION_INDENT_APPLYONDESC, CAPTION_INDENT_APPLYONDESC_APPLYON, CAPTION_INDENT_APPLYONDESC_INDENTNESTED, CAPTION_INDENT_APPLYONDESC_NESTED, CAPTION_INDENT_VALUE, CAPTION_STYLE, CAPTION_STYLE_ALLOW_COPY_PASTE, CAPTION_STYLE_HEADERIMAGE, CAPTION_STYLE_OCCURRENCE, CAPTION_STYLE_OCCURRENCE_APPLYONDESC, CAPTION_STYLE_OCCURRENCE_VISIBILITY, CAPTION_STYLE_OCCURRENCE_VISIBILITY_DEPENDSON, CAPTION_STYLE_OCCURRENCE_VISIBILITY_DEPENDSON_XPATH, CAPTION_STYLE_TYPE, CAPTION_STYLE_TYPE_BORDER_COLLAPSED, CAPTION_STYLE_TYPE_BORDER_STYLE, CAPTION_STYLE_TYPE_SEPARATOR_STYLE, CAPTION_STYLE_TYPE_SEPARATOR_STYLE_FULL, CAPTION_USERMODIFIEDSERIALIZATION, CAPTION_USERMODIFIEDSERIALIZATION_COLLAPSED, CHOICE_DEFAULTSELECTION, CHOICE_DEFAULTSELECTION_FULL, CHOICE_ORIENTATION, CHOICE_SINGLECHOICEANDSERIALIZE, CHOICE_TYPE, COMPOSITE_COMPONENT_COLUMNWIDTH, COMPOSITE_EDITORCOMPONENT_VISIBLE, COMPOSITE_LABEL_COLUMNWIDTH, COMPOSITE_LABEL_INDENT, COMPOSITE_LABEL_MULTI, COMPOSITE_LABEL_UNDERLINE, COMPOSITE_LABEL_VISIBLE, FULL_BEHAVIOUR_DEFINITION_PATH, FULL_STYLE_DEFINITION_PATH, GENERAL, GENERAL_LANGUAGE, GLOABAL_CAPTION, GLOABAL_CAPTION_TAB_BOTTOMSPACE, GLOBAL_CAPTION_BORDER, GLOBAL_CAPTION_HEADER, GLOBAL_CAPTION_HEADER_BOTTOMSPACE, GLOBAL_CAPTION_SEPARATOR, GLOBAL_CAPTION_SEPARATOR_CLASSIC, GLOBAL_CAPTION_SEPARATOR_MODERN, GLOBAL_CAPTION_SEPARATORCLASSIC_BOTTOMSPACE, GLOBAL_CAPTION_SEPARATORMODERN_BOTTOMSPACE, GLOBAL_CAPTION_TAB, GLOBAL_DEFINITION, GLOBAL_STYLE, GLOBAL_STYLE_BOTTOMSPACE, GLOBAL_STYLE_CAPTION, GLOBAL_STYLE_CHOICEANDENUMERATION, GLOBAL_STYLE_COMPONENT, GLOBAL_STYLE_COMPONENT_BOOLEANVISUALIZER, GLOBAL_STYLE_COMPONENT_COLUMNWIDTH, GLOBAL_STYLE_EDITORPANEL, GLOBAL_STYLE_ERRORDISPLAY, GLOBAL_STYLE_LABEL, GLOBAL_STYLE_NAVIGATIONTREE, GLOBAL_STYLE_NAVIGATIONTREE_ROOT, GLOBAL_STYLE_NAVIGATIONTREE_SELECTION, HELP, KEY_CONTEXT, KEY_CONTEXT_DIALOG_BUTTONSEQUENCE, KEY_CONTEXT_DIALOG_LOCATION, KEY_CONTEXT_LOCATION, KEYREF_CONDITION_FORMULAEXPRESSION, KEYREF_SELECTIONLINEINFO_FORMULAEXPRESSION, LAYOUT_LABELCOMPONENT_STARTELEMENT, LEAF_COMPONENT, LEAF_COMPONENT_BOOLEANVISUALIZER, LEAF_COMPONENT_COLUMNWIDTH, LEAF_COMPONENT_HREF, LEAF_COMPONENT_MASK, LEAF_COMPONENT_MASK_ALLOWINVALID, LEAF_COMPONENT_MASK_MASK, LEAF_COMPONENT_MASK_OVERWRITEMODE, LEAF_COMPONENT_MASK_PLACEHOLDER, LEAF_COMPONENT_MASK_VALIDCHARS, LEAF_COMPONENT_MASKCOMMITONVALIDEND, LEAF_COMPONENT_MASKINVALIDCHARS, LEAF_COMPONENT_MULTILINE, LEAF_COMPONENT_SHOWASLABEL, LEAF_COMPONENT_SHOWBACKLINKBUTTON, LEAF_COMPONENT_SHOWDETAILSBUTTON, LEAF_COMPONENT_SHOWNEWBUTTON, LEAF_COMPONENT_TIMEFORMAT, LEAF_COMPONENT_USEGROUPDELIM, LEAF_COMPONENT_VALUE_DATATYPE, LEAF_COMPONENT_VALUE_ENUMERATION, LEAF_COMPONENT_VALUE_ENUMERATION_CODESET, LEAF_COMPONENT_VALUE_ENUMERATION_CODESET_CLASS, LEAF_COMPONENT_VALUE_ENUMERATION_CODESET_NAME, LEAF_COMPONENT_VALUE_ENUMERATION_CODESET_URL, LEAF_COMPONENT_VALUE_ENUMERATION_CODESETALLOWINVALIDCODES, LEAF_COMPONENT_VALUE_ENUMERATION_CODESETSHOWERRORFORINVALIDCODE, LEAF_COMPONENT_VALUE_ENUMERATION_DEFAULT, LEAF_COMPONENT_VALUE_ENUMERATION_DEFAULT_FULL, LEAF_COMPONENT_VALUE_ENUMERATION_LIST_ENTRIES, LEAF_COMPONENT_VALUE_ENUMERATION_ORIENTATION, LEAF_COMPONENT_VALUE_ENUMERATION_TYPE, LEAF_COMPONENT_VALUE_ENUMERATION_TYPE_ISENUMERATIONTYPE, LEAF_COMPONENT_VALUE_ENUMERATION_TYPE_ISENUMERATIONTYPE_FULL, LEAF_COMPONENT_VALUE_SERIALIZECONTENTCDATA, LEAF_COMPONENT_VALUE_SINGLE_DEFAULT, LEAF_COMPONENT_VALUE_SINGLE_DEFAULT_FULL, LEAF_EDITORCOMPONENT_VISIBLE, LEAF_LABEL_COLUMNWIDTH, LEAF_LABEL_INDENT, LEAF_LABEL_MULTI, LEAF_LABEL_UNDERLINE, LEAF_LABEL_VISIBLE, LIST_COMPONENT_COLUMNWIDTH, LIST_EDITORCOMPONENT_VISIBLE, LIST_LABEL_COLUMNWIDTH, LIST_LABEL_INDENT, LIST_LABEL_MULTI, LIST_LABEL_UNDERLINE, LIST_LABEL_VISIBLE, LIST_LABELCOMPONENT_STARTELEMENT, MODE_APPLY_VIEWHOLDER, MODE_APPLY_VIEWHOLDER_FULL, MODE_CHILDRENVIEW, MODE_DISPLAYVALUE, MODE_EDITABLE, MODE_EDITABLE_TEMPORARY, MODE_ISREQUIRED, MODE_ISREQUIRED_FULL, MODE_MANDATORYEXPRESSION, MODE_MESSAGE_CLASSIFICATION, MODE_MESSAGE_NEEDUSERACCEPTANCE, MODE_READONLY, MODE_SERIALIZE, MODE_VIEWHOLDER, MODE_VISIBLE, PLUGIN_FORMULAEXPRESSION, PRINTING_CHOICEASHEADER, PRINTING_LISTPRINTMODE, PRINTING_PRINTABLE, RULE_EVENT_SCOPE, TREEENTRY_ICON, TREEENTRY_LABEL, TREEENTRY_OCCURRENCE_ISFOCUSABLE, TREEENTRY_OCCURRENCE_SHOWCHILDSOPTIONAL, TREEENTRY_OCCURRENCE_SHOWOPTIONAL, TREEENTRY_OCCURRENCE_VISIBILITY, TREEENTRY_OCCURRENCE_VISIBILITY_APPLYONDESC, TREEENTRY_OCCURRENCE_VISIBILITY_DEPENDSON, TREEENTRY_POPUPCLASS, TREEENTRY_SHOW_SEARCH, VIEW_HOLDER_TYPE
 
Constructor Summary
ListInfo()
           
ListInfo(Type xuiType, Type schemaType)
          Creates a AbstractListInfo for a xui type.
 
Method Summary
 boolean allowReOrdering()
          Returns true if it is allowed to move items around.
 boolean allowSorting()
          Returns true if the table allows sorting of the row data.
 boolean canModifyList()
           
 int getDefaultWidth()
          Get the default width for table columns.
 java.lang.String getFilter()
           
 java.lang.String getListItemIDPath()
           
 java.lang.String getSelectionMode()
          Returns the selection mode (single or multi [default])
 java.lang.String getStartupSelection()
          Returns the startup selection (none[default] first last)
 int getTableSize()
          Returns the table size in pixel.
 boolean hasFilter()
           
 boolean hideEditorPanel()
           
 boolean isAutoCreateMaxOccurListItems()
          Returns whether auto create of max list items is enabled.
 boolean isAutoCreateMinOccurListItems()
          Returns whether auto create of min list items is enabled.
 boolean isSelectionOnly()
          Indicates if this list is only intended for selection instead of edit items.
 boolean isShowingButtons()
          Indicats if the button controls should be shown or not.
 boolean isShowingCopyButton()
          Indicats if the button "copy" should be shown or not.
 boolean isShowingDeleteButton()
          Indicats if the button "delete" should be shown or not.
 boolean isShowingEditButton()
          Indicats if the button "edit" should be shown or not.
 boolean isShowingNewButton()
          Indicats if the button "new" should be shown or not.
 boolean isUsingDefaultRendering()
          Returns true if the columns/rows are rendered by default.
 boolean isUsingDeletionConfirmation()
          Returns wether a deletion confirmation message will be shown or not.
 void setIsDefaultRendering(boolean defaultRendering)
          Mark if this list will be displayed with default headers.
 boolean setIsSelectionOnly(boolean selectionOnly)
           
 void setIsXUIControlled(boolean isControlled)
          Mark if this list is controlled by a xui definition.
 boolean showSequenceNumbering()
          Returns true if the sequence numbers gets displayed.
 boolean useZebraLook()
          Returns true if the table uses a zebra look.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListInfo

public ListInfo()

ListInfo

public ListInfo(Type xuiType,
                Type schemaType)
Creates a AbstractListInfo for a xui type.

Parameters:
xuiType - xuiType to create a list info from
Method Detail

allowReOrdering

public boolean allowReOrdering()
Returns true if it is allowed to move items around.


allowSorting

public boolean allowSorting()
Returns true if the table allows sorting of the row data.


hasFilter

public boolean hasFilter()

getFilter

public java.lang.String getFilter()

getDefaultWidth

public int getDefaultWidth()
Get the default width for table columns.


getSelectionMode

public java.lang.String getSelectionMode()
Returns the selection mode (single or multi [default])


getStartupSelection

public java.lang.String getStartupSelection()
Returns the startup selection (none[default] first last)


getListItemIDPath

public java.lang.String getListItemIDPath()

getTableSize

public int getTableSize()
Returns the table size in pixel.


isSelectionOnly

public boolean isSelectionOnly()
Indicates if this list is only intended for selection instead of edit items. This will remove the visualizer holder (editingType) and the action buttons.


setIsSelectionOnly

public boolean setIsSelectionOnly(boolean selectionOnly)

isUsingDefaultRendering

public boolean isUsingDefaultRendering()
Returns true if the columns/rows are rendered by default.


setIsDefaultRendering

public void setIsDefaultRendering(boolean defaultRendering)
Mark if this list will be displayed with default headers.

Parameters:
defaultRendering - use default header rendering

setIsXUIControlled

public void setIsXUIControlled(boolean isControlled)
Mark if this list is controlled by a xui definition.

Parameters:
isControlled - mark if it is controlled by xui

showSequenceNumbering

public boolean showSequenceNumbering()
Returns true if the sequence numbers gets displayed.


hideEditorPanel

public boolean hideEditorPanel()

useZebraLook

public boolean useZebraLook()
Returns true if the table uses a zebra look.


isShowingButtons

public boolean isShowingButtons()
Indicats if the button controls should be shown or not.


isShowingNewButton

public boolean isShowingNewButton()
Indicats if the button "new" should be shown or not.


isShowingCopyButton

public boolean isShowingCopyButton()
Indicats if the button "copy" should be shown or not.


isShowingDeleteButton

public boolean isShowingDeleteButton()
Indicats if the button "delete" should be shown or not.


isShowingEditButton

public boolean isShowingEditButton()
Indicats if the button "edit" should be shown or not.


isUsingDeletionConfirmation

public boolean isUsingDeletionConfirmation()
Returns wether a deletion confirmation message will be shown or not.


isAutoCreateMinOccurListItems

public boolean isAutoCreateMinOccurListItems()
Returns whether auto create of min list items is enabled.


isAutoCreateMaxOccurListItems

public boolean isAutoCreateMaxOccurListItems()
Returns whether auto create of max list items is enabled.


canModifyList

public boolean canModifyList()