|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jaxfront.core.xui.AbstractXUIElement
com.jaxfront.core.xui.StyleDefinition
public class StyleDefinition
The StyleDefinition encapsulate all graphical layout definitions of a XUI component. For a detailed description look at the xui.xsd Schema [/XUI/component/style].
| Field Summary | |
|---|---|
static int |
COMP_SIZE_COMBO_DEFAULT
|
static int |
COMP_SIZE_DEFAULT
|
static int |
COMP_SIZE_GROW
|
static int |
DEFAULT_SIZE_BOOLEAN
|
static int |
DEFAULT_SIZE_BOOLEAN_CHECKBOX
|
static int |
DEFAULT_SIZE_CHOICE_COMBO
|
static int |
DEFAULT_SIZE_DATE
|
static int |
DEFAULT_SIZE_DATETIME
|
static int |
DEFAULT_SIZE_NUMBER
|
static int |
DEFAULT_SIZE_STRING
|
static int |
DEFAULT_SIZE_TIME
|
| Fields inherited from class com.jaxfront.core.xui.AbstractXUIElement |
|---|
COMPONENT_BEHAVIOR_BRANCH, COMPONENT_STYLE_BRANCH, GLOBAL_BEHAVIOR_BRANCH, GLOBAL_BRANCH, GLOBAL_GENERAL_BRANCH, GLOBAL_STYLE_BRANCH, UNDEFINED_BRANCH |
| Constructor Summary | |
|---|---|
StyleDefinition(XUIDefinition xuiDefinition,
StyleDefinition styleDefinition)
Creates a StyleDefinition for the given XUIDefintion based on an other StyleDefinition. |
|
StyleDefinition(XUIDefinition xuiDefinition,
Type xuiType)
Creates a StyleDefinition for the given XUIDefintion based on information provided by the xuiType |
|
| Method Summary | |
|---|---|
boolean |
allowDeselection()
|
boolean |
allowEmptyChoice()
|
boolean |
allowFreetextChoice()
|
boolean |
applyViewHolderOnDirectDescendants()
|
static ButtonEnabling |
checkEnabling(Type forType)
|
boolean |
contains(Type holder,
Type childType)
|
boolean |
expandIfContainsData()
|
boolean |
forcePDFPageBreak()
|
java.lang.String |
getActAs()
Returns the user overwritten datatype, this change has only an effect if the jaxfront type will become visible within a gui. |
java.awt.Color |
getBackgroundColor()
Returns the background color for the current type. |
java.lang.String |
getBooleanVisualizer()
|
float |
getCaptionIndentValue()
|
java.lang.String |
getCaptionOccurrenceDependsOnXPath()
|
java.lang.String |
getCaptionTitleID()
Returns the caption label id (for a help system). |
java.lang.String |
getCaptionTitleLabel()
Returns the caption label in the current language. |
java.lang.String |
getCaptionTitleToolTip()
|
java.lang.String |
getCaptionType()
|
java.lang.String |
getCaptionVisibility()
|
java.lang.String |
getChildrenView()
|
java.lang.String |
getChoiceDefaultSelection()
|
java.lang.String |
getChoiceLabel()
|
java.lang.String |
getChoiceOrientation()
|
java.lang.String |
getChoiceType()
|
java.lang.String[][] |
getCodeEnumeration()
|
java.lang.String |
getCodeSetClass()
Returns the codeSet class name. |
int |
getCodesetEntryIdx(java.lang.String value)
|
java.lang.String[] |
getCodeSetIdsFromFile(java.lang.String fileURL,
java.lang.String codeSetName)
|
java.lang.String[][] |
getCodeSetItemsFromClass(java.lang.String classURL,
java.lang.String codeSetName)
|
java.lang.String[][] |
getCodeSetItemsFromFile(java.lang.String fileURL,
java.lang.String codeSetName)
|
java.lang.String |
getCodeSetName()
|
java.lang.String |
getCodeSetURL()
Returns the codeSet URL location. |
java.lang.String[] |
getCodeSetValuesFromClass(java.lang.String classURL,
java.lang.String codeSetName)
|
java.lang.String[] |
getCodeSetValuesFromFile(java.lang.String fileURL,
java.lang.String codeSetName)
|
java.lang.String |
getCodeSetXPointer()
Returns the codeSet URL location. |
CodeTables |
getCodeTablesFromFile(java.lang.String fileURL,
java.lang.String codeSetName)
|
float |
getComponentColumnWidth()
Returns the component column width. |
float |
getComponentIndent()
Returns the indent for the component. |
float |
getComponentSize()
Returns the size (long/middle/short) for the component. |
java.lang.String |
getContextDialogBounds()
|
java.lang.String |
getContextDialogButtonSequence()
|
java.awt.Point |
getContextDialogLocation()
|
java.awt.Dimension |
getContextDialogSize()
|
java.lang.String |
getCSSStyle()
|
java.lang.String |
getDeletionConfirmationMessageText()
Returns the message text that will be displayed in the confirmation message dialog to confirm deletion of the selected list item. |
java.lang.String |
getDialogLabel()
|
java.lang.String |
getDisplayValue()
Returns a specified text that acts as a display value for the current node. |
java.lang.String[] |
getEnumeration()
|
java.lang.String |
getEnumerationSortOrder()
|
java.awt.Color |
getForegroundColor()
Returns the foreground color for the current type. |
java.lang.String |
getHeaderImageURL()
|
java.lang.String |
getHelpText()
|
java.lang.String |
getHelpText(java.lang.String language)
|
java.lang.String |
getHelpURL()
|
java.awt.Color |
getHintColor()
|
java.lang.String |
getHintText()
|
java.lang.String |
getKeyContextDialogLabel()
Returns the key context dialog label in the current language. |
java.lang.String |
getKeyContextLocation()
|
java.lang.String |
getKeyRefConditionFE()
|
java.lang.String |
getKeyRefSelectionLineInfoFE()
|
java.lang.String |
getLabelChoiceText()
|
java.awt.Color |
getLabelColor()
Returns the label color for the current type. |
float |
getLabelColumnWidth()
Returns the label column width. |
java.lang.String |
getLabelIcon()
Returns the name of the label icon. |
java.lang.String |
getLabelIconPosition()
Returns the position of the label icon. |
float |
getLabelIndent()
|
java.lang.String |
getLabelText()
Returns the visual label in the current language. |
java.lang.String |
getLabelToolTip()
|
java.util.Vector |
getLayoutInfos()
|
LayoutInfo |
getLayoutManager()
Returns the layout info (default is null). |
LayoutInfo |
getLayoutManager(java.lang.String id)
Returns the id of the tableLayout. |
java.lang.String |
getLeafDefaultValue()
|
java.lang.String |
getLeafEnumerationDefaultSelection()
|
java.lang.String |
getLeafEnumerationOrientation()
|
java.lang.String |
getLeafEnumerationType()
|
java.lang.String |
getLeafLabelHRef()
Returns the href of the label. |
java.lang.String |
getLeafMask()
|
boolean |
getLeafMaskAllowInvalid()
|
boolean |
getLeafMaskCommitOnValidEnd()
|
java.lang.String |
getLeafMaskInvalidChars()
|
boolean |
getLeafMaskOverwriteMode()
|
java.lang.String |
getLeafMaskPlaceHolder()
|
java.lang.String |
getLeafMaskValidChars()
|
ListInfo |
getListInfo()
|
java.lang.String |
getListPrintMode()
Returns the print mode for this list type. |
java.lang.String |
getMandatoryExpression()
|
int |
getMaxTextLength()
|
int |
getMultiLineColSize()
|
int |
getMultiLineNumberComponent()
|
java.lang.Float |
getNestedCaptionIndent()
|
java.lang.String |
getNLS(java.lang.String context,
java.lang.String subId,
java.lang.String classification)
|
java.lang.String |
getNLS(java.lang.String defaultNLS,
java.lang.String context,
java.lang.String subId,
java.lang.String classification)
|
java.lang.String |
getPageTitle(Type pageType,
int pageIndex)
|
java.lang.String |
getPagingTitleFormula()
|
float |
getPDFCaptionFontSize()
|
int |
getPDFCaptionIndent()
|
float |
getPDFComponentFontSize()
|
float |
getPDFLabelFontSize()
|
int |
getPDFLabelIndent()
|
PluginBean |
getPluginBean()
Returns a PluginBean if available. |
PluginBean |
getPluginBean(java.lang.String rendererID)
|
boolean |
getPrimitiveBooleanProperty(java.lang.String fullPath,
java.lang.String relativePath)
|
java.lang.String |
getPrintable()
Returns wether this type should be printed out or not. |
java.lang.String |
getPrintingFormula()
|
java.lang.String |
getPrintingLabel()
|
java.lang.String[] |
getSchemaEnumeration()
|
int |
getSelectedTabIdx()
|
Type |
getSelectedTabType()
|
boolean |
getSerializable()
Returns true if the value of the correspondent component should be serialized into an xml instance. |
java.lang.Boolean |
getSerializableDefault()
Returns true if the value of the correspondent component should be serialized into an xml instance. null if nothing is defined. |
java.lang.String |
getSerialListAddLabel()
|
java.lang.String |
getSplitterLayoutDefinition()
|
java.lang.Integer |
getTabIndex()
Sets the tab index if this type is visualized as a tab. |
static int |
getTableHeight(Type model,
int defaultRowHeight)
|
java.lang.String |
getTableLayoutEvenStyle()
|
java.lang.String |
getTableLayoutOddStyle()
|
java.lang.String |
getTableLayoutStyle()
|
java.lang.String |
getTableModelClass()
Returns the table model class (default: com.jaxfront.core.ui.FlipOrientationTableModel) |
java.lang.String |
getTablePosition()
Returns the table position (north [default], south, east, west). |
java.lang.String |
getTimeFormat()
|
java.lang.String |
getTimeInputMask()
|
int |
getTotalNumberOfPages()
|
java.lang.String |
getTreeEntryDependsOnXPath()
Returns the xpath of the node on which this treeEntry depends. |
java.lang.String |
getTreeEntryMode()
Returns the selected treeEntry mode as String. |
java.lang.String |
getTreeEntryToolTip()
|
java.lang.String |
getTreeIcon()
|
java.lang.Object |
getTreeLabelFormulaResult()
|
java.lang.String |
getTreeLabelText()
|
java.lang.String |
getTreeLink()
|
java.lang.String |
getTreeLinkTarget()
|
java.lang.String |
getTreePopUpClass()
|
java.util.List |
getUserListActions()
|
java.lang.String |
getValidationErrorClassification()
Returns the classification of the validation error message. |
java.lang.String |
getValidationErrorMessage()
Returns the validation error message as defined in the xui. |
java.lang.String |
getViewHolder()
|
boolean |
hasCaption()
Returns true if this component uses a caption. |
boolean |
hasDisplayValue()
|
boolean |
hasHeader()
Returns true if this definition defines a header for a list. |
boolean |
hasHeaderImageURL()
Returns true if an url of a header image has been defined. |
boolean |
hasHint()
|
boolean |
hasKeyContextLocation()
Returns if a context location path has been defined for a key. |
boolean |
hasKeyRefConditionFormulaExpression()
Returns if a selection lineInfo formula expression has been defined for a keyRef type. |
boolean |
hasKeyRefSelectionLineInfoFE()
Returns if a selection lineInfo formula expression has been defined for a keyRef type. |
boolean |
hasTableLayoutParent()
|
boolean |
hasTreeIconFormula()
|
boolean |
hasTreeLabelFormulaExpression()
|
boolean |
hasTreeLinkFormula()
|
boolean |
hasUserModfiedSerialization()
Returns true if a xui style exists for global style caption usermodifiedserilization |
boolean |
hidePageNavigation()
|
boolean |
isAllowingCopyPaste()
|
boolean |
isApplicationRequired()
Returns true if this component should be drawn as required for the application (not schema required). |
boolean |
isBoolean3StateButton()
|
boolean |
isBooleanViewCheckBox()
|
boolean |
isBooleanViewRadioButton()
|
boolean |
isBooleanViewRadioButtonUnselected()
|
boolean |
isCaptionIndentApplyOnAllDescendants()
|
boolean |
isCaptionIndentApplyOnBoth()
|
boolean |
isCaptionIndentApplyOnComponent()
|
boolean |
isCaptionIndentApplyOnDirectDescendants()
|
boolean |
isCaptionIndentApplyOnLabel()
|
boolean |
isCaptionOccurrenceAlways()
|
boolean |
isCaptionOccurrenceApplyOnAllDescendants()
|
boolean |
isCaptionOccurrenceApplyOnDirectDescendants()
|
boolean |
isCaptionOccurrenceDependsOn()
|
boolean |
isCaptionOccurrenceNever()
|
boolean |
isCaptionTypeBorder()
|
boolean |
isChoiceAsComboBox()
Returns true if this is a choice component displayed as a combobox. |
boolean |
isChoiceAsRadioButton()
Returns true if this is a choice component displayed as a radioButton group. |
java.lang.Boolean |
isChoiceAvailable()
|
java.lang.Boolean |
isChoiceEnabled()
|
boolean |
isChoiceLabelVisible()
|
boolean |
isChoiceOrientationHorizontal()
Returns true if the choice orientation is set to HORIZONTAL, false otherwise |
boolean |
isComponentMulti()
Returns true if this component uses more than one line to display. |
boolean |
isCurrencyControl()
|
boolean |
isDefaultLayout()
Returns true if this definition uses no special layout. |
boolean |
isDialogMode()
Returns true if this definition defines a dialog mode to edit childs within a list. |
boolean |
isEditable()
Returns true if this component is editable which means that the editor component will be displayed as enabled but without the functionality to enter any values. |
boolean |
isEditableAtRuntime()
|
boolean |
isEditableComboBoxEnabled()
Returns true if editable combo box is enabled for drop down widgets. |
boolean |
isEditorComponentVisible()
Returns true if the editor component of the current type is visible. |
boolean |
isEnabled()
Disables this component. |
boolean |
isEnumeration()
Returns true if this definition defines a choice (choice list,codeset or schema enumeration). |
boolean |
isEnumerationAllowingInvalidCodes()
Returns true if an enumeration allows to show invalid codes of a codeset. |
boolean |
isEnumerationAsComboBox()
Returns true if this is an enumeration component displayed as a radioButton group. |
boolean |
isEnumerationAsListBox()
Returns true if this is an enumeration component displayed as a list box. |
boolean |
isEnumerationAsListBoxMultipleSelect()
Returns true if this is an enumeration component displayed as a list box. |
boolean |
isEnumerationAsRadioButton()
Returns true if this is an enumeration component displayed as a radioButton group. |
boolean |
isEnumerationOrientationHorizontal()
Returns true if the enumeration orientation is set to HORIZONTAL, false otherwise |
boolean |
isEnumerationShowErrorForInvalidCodes()
Returns true if an error will be thrown when selecting an invalid code set value |
boolean |
isEnumerationWithDynamicFreeText()
|
boolean |
isEnumerationWithDynamicFreeTextAndEmptyOption()
|
boolean |
isHierarchyEnabled(Type startType)
|
boolean |
isHintTextBold()
|
boolean |
isHintTextFormula()
|
boolean |
isInitiallyCollapsed()
|
boolean |
isInTableLayoutContext()
Returns true if this component uses the table layout. |
boolean |
isKeyRefShowingBackLinkButton()
Returns true if a keyRef component shows its "backLink" button. |
boolean |
isKeyRefShowingDetailsButton()
Returns true if a keyRef component shows its "details" button. |
boolean |
isKeyRefShowingNewButton()
Returns true if a keyRef component shows its "new" button. |
boolean |
isLabelIconPositionBottom()
Returns true if the position of the label icon is set to bottom. |
boolean |
isLabelIconPositionLeft()
Returns true if the position of the label icon is set to left. |
boolean |
isLabelIconPositionRight()
Returns true if the position of the label icon is set to right. |
boolean |
isLabelIconPositionTop()
Returns true if the position of the label icon is set to top. |
boolean |
isLabelMulti()
Returns true if this component uses more than one line to display. |
boolean |
isLabelUnderlined()
Returns true if this component uses more than one line to display. |
boolean |
isLabelVisible()
Returns true if the label of the current type is visible. |
boolean |
isLeafComponentHRef()
|
boolean |
isListPrintModeSerial()
Returns true if the list print mode is serial. |
boolean |
isListPrintModeTable()
Returns true if the list print mode is table. |
boolean |
isListPrintModeTableAndSerial()
Returns true if the list print mode is table and serial. |
boolean |
isMarkedAsError()
Returns true if this type is marked as an error. |
boolean |
isPagingLayout()
Returns true if this component uses the paging layout. |
boolean |
isPanelMode()
Returns true if this definition defines a dialog mode to edit childs within a list. |
boolean |
isParentViewHolder()
Returns true if this component is displayed within its parent view and not within its own context. |
boolean |
isReadOnly()
Returns true if this component is readOnly (disabled). |
byte |
isReadOnlyNoHash()
|
boolean |
isRepresentedAsHeader()
Returns true if this component is displayed with a header separator. |
boolean |
isRepresentedAsTab()
Returns true if this component is displayed within a tab on a tabbed pane. |
boolean |
isRepresentedAsTreeNode()
|
boolean |
isSelectionOnly()
Same like Tableinfo but take count of isEditable and isReadOnly |
boolean |
isSelfViewHolder()
Returns true if this component is displayed in its own context, not within its parent view. |
boolean |
isSerializableAsCDATA()
Returns true if the content value is serializable as CDATA section. |
boolean |
isSerialView()
Returns true if this component is displayed as a serial view. |
boolean |
isSingleChoiceAndSerialize()
Returns true if the current choice does not allow an "empty selection" after a selection has been made. |
boolean |
isTabHolder()
Returns true if this component displays its composites as separate tabs. |
boolean |
isTableLayout()
Returns true if this component uses the table layout. |
boolean |
isTreeEntryAllowExpColapse()
|
boolean |
isTreeEntryAllowSearch()
Returns whether the tree entry can show a search dialog or not. |
boolean |
isTreeEntryAlways()
Returns true if this component is always displayed in the tree. |
boolean |
isTreeEntryApplyOnAllDescendants()
Returns true if the current treeEntry settings will be applied to all its childs. |
boolean |
isTreeEntryApplyOnDirectDescendants()
Returns true if the current treeEntry settings will be applied only to its direct childs. |
boolean |
isTreeEntryDependingOn()
Returns true if this component's node is displayed depending on a other node's treeEntry. |
boolean |
isTreeEntryFocusable()
Returns whether the tree entry can gain the focus by clicking the function keys F7 or F8. |
boolean |
isTreeEntryNever()
Returns true if this component is never displayed in the tree. |
boolean |
isTreeEntryShowAsOptional()
Returns true if the tree node of the current type should be visualized with a checkbox that allows to show/hide the corresponding component on the workspace. |
boolean |
isTreeEntryShowChildrenAsOptional()
Returns true if the tree nodes of the children of the current type should be visualized with a checkbox that allows to show/hide the corresponding component on the workspace. |
boolean |
isUnlocked()
Returns true if this component or an ancestor of myself is marked as an unlocked field. |
boolean |
isUserModifiedSerialization()
|
boolean |
isUserModifiedSerializationCollapsed()
|
boolean |
isUseTableLayoutZebra()
|
boolean |
isUsingCodeSet()
Returns true if using a codeSet definition. |
boolean |
isUsingExternalEnumeration()
|
boolean |
isUsingGroupingDelimiters()
|
boolean |
isUsingPlugIn()
Returns true if this component is represented through a plugin bean. |
boolean |
isUsingRestrictivePaging()
|
boolean |
isUsingTab()
|
boolean |
isValidationErrorNeedingUserAcceptance()
Returns true if the validation error message requires any user acceptance. |
boolean |
isVisible()
Returns true if the current type is visible. |
boolean |
isVisibleAtRuntime()
|
boolean |
isVisibleInOptionalTreeMode()
|
byte |
isVisibleNoHash()
|
boolean |
isXLinkCodeset()
|
void |
markAsError(boolean markAsError)
Marks this type as an error (e.q. based on a occured rule definition). |
void |
markAsUnlockedField()
Mark field as temporarly editable (if field is an unlocked field). |
java.lang.Boolean |
printChoiceAsHeader()
Returns true if this type is a choice and if it should be printed out as header. |
boolean |
printLabelOnly()
|
void |
registerNestedDialog(TableCell cell)
|
void |
reinitializeCodeSetValues()
|
void |
release()
|
void |
removeHint()
|
boolean |
serializeAsXLink()
|
void |
setActAs(java.lang.String actAs)
Overwrites the datatype specified in the schema. |
void |
setAllowEmptyChoice(boolean enabled)
|
void |
setApplicationRequired(boolean applicationRequired)
Sets the editor component required within the application (not schema-required). |
void |
setBackgroundColor(java.awt.Color color)
Sets the background color for the current type. |
void |
setBoolean3StateButton()
|
void |
setBooleanVisualizerAsCheckBox()
|
void |
setCaptionIndentValue(float newCaptionIndent)
|
void |
setCaptionOccurrence(boolean hasCaption,
java.lang.String applyOnDescendants)
|
void |
setChoiceEnabled(boolean enabled)
|
void |
setCodeSetClass(java.lang.String className)
Sets the codeSet class name. |
void |
setCodeSetName(java.lang.String name)
Sets the codeSet name. |
void |
setCodeSetURL(java.lang.String codesetURL)
Sets the codeSet URL location. |
void |
setCodeSetValuesFromClass(java.lang.String classURL,
java.lang.String codeSetName,
java.lang.String[] values)
Sets the codeset values from a java class. |
void |
setCodeSetValuesFromFile(java.lang.String fileURL,
java.lang.String codeSetName,
java.lang.String[] codes)
Sets the codeset values from a codeset file. |
void |
setCodeSetValuesFromFile(java.lang.String fileURL,
java.lang.String codeSetName,
java.lang.String[][] codesArr)
|
void |
setCodeSetValuesFromFile(java.lang.String fileURL,
java.lang.String codeSetName,
java.lang.String[] codes,
boolean syncWithCodeEnum,
boolean valueBasedSync)
|
void |
setComponentColumnWidth(float width)
|
void |
setComponentIndent(float newComponentIndent)
|
void |
setComponentSize(float size)
|
void |
setCSSStyle(java.lang.String className)
|
void |
setEditable(boolean editable)
Sets if the component is editable or not. |
void |
setEditableAtRuntime(boolean editable)
|
void |
setEnabled(boolean enabled)
Disables this component. |
void |
setEnumeration(boolean isEnum)
|
void |
setEnumeration(java.lang.String[] selection)
|
void |
setEnumeration(java.lang.String[][] selection)
|
void |
setEnumerationAsListBoxMultiSelect()
|
void |
setExpandIfContainsData(boolean expand)
|
void |
setForegroundColor(java.awt.Color color)
Sets the foreground color for the current type. |
void |
setHidePageNavigation(boolean hide)
|
void |
setHint(java.lang.String text,
boolean isFormula,
java.awt.Color color,
boolean isBold)
|
void |
setInitiallyCollapsed(boolean collapsed)
|
void |
setIsVisibleInOptionalTreeMode(boolean isVisible)
|
void |
setLabelColor(java.awt.Color color)
Sets the label color for the current type. |
void |
setLabelColumnWidth(float width)
|
void |
setLabelIndent(float newLabelIndent)
|
void |
setLabelText(java.lang.String text)
Sets the label text |
void |
setLabelVisible(boolean visible)
Sets the label visible or invisible. |
void |
setLeafEnumerationDefaultSelection(java.lang.String defaultSelection)
|
void |
setListLabelVisible(boolean visible)
|
void |
setNestedCaptionIndent(float newCaptionIndent)
|
void |
setPDFCaptionFontSize(float fontSize)
|
void |
setPDFCaptionIndent(int captionIndent)
|
void |
setPDFComponentFontSize(float fontSize)
|
void |
setPDFLabelFontSize(float fontSize)
|
void |
setPDFLabelIndent(int labelIndent)
|
void |
setPluginBean(PluginBean bean)
|
void |
setPluginBean(PluginBean bean,
java.lang.String rendererID)
getVisualRepresentation method comment. |
void |
setPrintable(boolean printable)
|
void |
setProperty(java.lang.Object fullKey,
java.lang.Object relativeKey,
java.lang.Boolean value)
|
void |
setSelectedTabIdx(int selectedTabIdx)
|
void |
setSelectedTabType(Type selectedTabType)
|
void |
setSerializableAsCDATA(boolean isCDATA)
Sets if the content value is serializable as CDATA section. |
void |
setShowAsLabel(boolean show)
Sets the codeSet name. |
void |
setTabIndex(int tabIndex)
Sets the tab index if this type is visualized as a tab. |
void |
setTableLayoutEvenStyle(java.lang.String cssParam)
|
void |
setTableLayoutOddStyle(java.lang.String cssParam)
|
void |
setTableLayoutStyle(java.lang.String cssParam)
|
void |
setTreeEntry(boolean hasTreeEntry)
Sets if the current type has a tree entry. |
void |
setTreeEntry(boolean hasTreeEntry,
java.lang.String applyOnDescendants)
Sets if the current type has a tree entry. |
void |
setTreeIcon(java.lang.String gifName)
Sets the tree icon for the treeEntry of the current type. |
void |
setUseRestrictivePaging(boolean use)
|
void |
setUserModifiedSerializationCollapsed(boolean collapsed)
|
void |
setUseTableLayoutZebra(boolean use)
|
void |
setUsingGroupingDelimiters(boolean useDelims)
Set true if jaxfront should use grouping delimiters to display numbers! |
void |
setVisible(boolean visible)
|
void |
setVisibleAtRuntime(boolean visible)
|
boolean |
showAsLabel()
|
java.lang.String |
toString()
|
java.lang.String |
translateToCodeSetValue(Type type,
java.lang.String key)
Returns the codeset decription value if this type is using a codeset enumeration otherwise return the normal value. |
void |
update(StyleDefinition styleDefinition)
|
void |
update(Type aType)
|
void |
updateLayoutManager(LayoutInfo info)
|
boolean |
useUserModifiedSerialization()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int COMP_SIZE_COMBO_DEFAULT
public static final int COMP_SIZE_DEFAULT
public static final int COMP_SIZE_GROW
public static final int DEFAULT_SIZE_BOOLEAN
public static final int DEFAULT_SIZE_BOOLEAN_CHECKBOX
public static final int DEFAULT_SIZE_CHOICE_COMBO
public static final int DEFAULT_SIZE_DATE
public static final int DEFAULT_SIZE_DATETIME
public static final int DEFAULT_SIZE_NUMBER
public static final int DEFAULT_SIZE_STRING
public static final int DEFAULT_SIZE_TIME
| Constructor Detail |
|---|
public StyleDefinition(XUIDefinition xuiDefinition,
StyleDefinition styleDefinition)
XUIDefinition - xuiDefinitionstyleDefinition - style information to copy
public StyleDefinition(XUIDefinition xuiDefinition,
Type xuiType)
XUIDefinition - xuiDefinitionType - xuiType| Method Detail |
|---|
public boolean allowDeselection()
public boolean allowEmptyChoice()
public boolean allowFreetextChoice()
public boolean applyViewHolderOnDirectDescendants()
public static ButtonEnabling checkEnabling(Type forType)
public boolean contains(Type holder,
Type childType)
public boolean expandIfContainsData()
public boolean forcePDFPageBreak()
public java.lang.String getActAs()
public java.awt.Color getBackgroundColor()
public java.lang.String getBooleanVisualizer()
public float getCaptionIndentValue()
public java.lang.String getCaptionOccurrenceDependsOnXPath()
public java.lang.String getCaptionTitleID()
public java.lang.String getCaptionTitleLabel()
public java.lang.String getCaptionTitleToolTip()
public java.lang.String getCaptionType()
public java.lang.String getCaptionVisibility()
public java.lang.String getChildrenView()
public java.lang.String getChoiceDefaultSelection()
public java.lang.String getChoiceLabel()
public java.lang.String getChoiceOrientation()
public java.lang.String getChoiceType()
public java.lang.String[][] getCodeEnumeration()
public java.lang.String getCodeSetClass()
public int getCodesetEntryIdx(java.lang.String value)
public java.lang.String[] getCodeSetIdsFromFile(java.lang.String fileURL,
java.lang.String codeSetName)
public java.lang.String[][] getCodeSetItemsFromClass(java.lang.String classURL,
java.lang.String codeSetName)
public java.lang.String[][] getCodeSetItemsFromFile(java.lang.String fileURL,
java.lang.String codeSetName)
public java.lang.String getCodeSetName()
public java.lang.String getCodeSetURL()
public java.lang.String[] getCodeSetValuesFromClass(java.lang.String classURL,
java.lang.String codeSetName)
public java.lang.String[] getCodeSetValuesFromFile(java.lang.String fileURL,
java.lang.String codeSetName)
public java.lang.String getCodeSetXPointer()
public CodeTables getCodeTablesFromFile(java.lang.String fileURL,
java.lang.String codeSetName)
public float getComponentColumnWidth()
public float getComponentIndent()
public float getComponentSize()
public java.lang.String getContextDialogBounds()
public java.lang.String getContextDialogButtonSequence()
public java.awt.Point getContextDialogLocation()
public java.awt.Dimension getContextDialogSize()
public java.lang.String getCSSStyle()
public java.lang.String getDeletionConfirmationMessageText()
public java.lang.String getDialogLabel()
public java.lang.String getDisplayValue()
public java.lang.String[] getEnumeration()
public java.lang.String getEnumerationSortOrder()
public java.awt.Color getForegroundColor()
public java.lang.String getHeaderImageURL()
public java.lang.String getHelpText()
public java.lang.String getHelpText(java.lang.String language)
public java.lang.String getHelpURL()
public java.awt.Color getHintColor()
public java.lang.String getHintText()
public java.lang.String getKeyContextDialogLabel()
public java.lang.String getKeyContextLocation()
public java.lang.String getKeyRefConditionFE()
public java.lang.String getKeyRefSelectionLineInfoFE()
public java.lang.String getLabelChoiceText()
public java.awt.Color getLabelColor()
public float getLabelColumnWidth()
public java.lang.String getLabelIcon()
public java.lang.String getLabelIconPosition()
public float getLabelIndent()
public java.lang.String getLabelText()
public java.lang.String getLabelToolTip()
public java.util.Vector getLayoutInfos()
public LayoutInfo getLayoutManager()
public LayoutInfo getLayoutManager(java.lang.String id)
public java.lang.String getLeafDefaultValue()
public java.lang.String getLeafEnumerationDefaultSelection()
public java.lang.String getLeafEnumerationOrientation()
public java.lang.String getLeafEnumerationType()
public java.lang.String getLeafLabelHRef()
public java.lang.String getLeafMask()
public boolean getLeafMaskAllowInvalid()
public boolean getLeafMaskCommitOnValidEnd()
public java.lang.String getLeafMaskInvalidChars()
public boolean getLeafMaskOverwriteMode()
public java.lang.String getLeafMaskPlaceHolder()
public java.lang.String getLeafMaskValidChars()
public ListInfo getListInfo()
public java.lang.String getListPrintMode()
public java.lang.String getMandatoryExpression()
public int getMaxTextLength()
public int getMultiLineColSize()
public int getMultiLineNumberComponent()
public java.lang.Float getNestedCaptionIndent()
public java.lang.String getNLS(java.lang.String context,
java.lang.String subId,
java.lang.String classification)
public java.lang.String getNLS(java.lang.String defaultNLS,
java.lang.String context,
java.lang.String subId,
java.lang.String classification)
public java.lang.String getPageTitle(Type pageType,
int pageIndex)
public java.lang.String getPagingTitleFormula()
public float getPDFCaptionFontSize()
public int getPDFCaptionIndent()
public float getPDFComponentFontSize()
public float getPDFLabelFontSize()
public int getPDFLabelIndent()
public PluginBean getPluginBean()
public PluginBean getPluginBean(java.lang.String rendererID)
public boolean getPrimitiveBooleanProperty(java.lang.String fullPath,
java.lang.String relativePath)
public java.lang.String getPrintable()
public java.lang.String getPrintingFormula()
public java.lang.String getPrintingLabel()
public java.lang.String[] getSchemaEnumeration()
public int getSelectedTabIdx()
public Type getSelectedTabType()
public boolean getSerializable()
public java.lang.Boolean getSerializableDefault()
public java.lang.String getSerialListAddLabel()
public java.lang.String getSplitterLayoutDefinition()
public java.lang.Integer getTabIndex()
public static int getTableHeight(Type model,
int defaultRowHeight)
public java.lang.String getTableLayoutEvenStyle()
public java.lang.String getTableLayoutOddStyle()
public java.lang.String getTableLayoutStyle()
public java.lang.String getTableModelClass()
public java.lang.String getTablePosition()
public java.lang.String getTimeFormat()
public java.lang.String getTimeInputMask()
public int getTotalNumberOfPages()
public java.lang.String getTreeEntryDependsOnXPath()
public java.lang.String getTreeEntryMode()
public java.lang.String getTreeEntryToolTip()
public java.lang.String getTreeIcon()
public java.lang.Object getTreeLabelFormulaResult()
public java.lang.String getTreeLabelText()
public java.lang.String getTreeLink()
public java.lang.String getTreeLinkTarget()
public java.lang.String getTreePopUpClass()
public java.util.List getUserListActions()
public java.lang.String getValidationErrorClassification()
public java.lang.String getValidationErrorMessage()
public java.lang.String getViewHolder()
public boolean hasCaption()
public boolean hasDisplayValue()
public boolean hasHeader()
public boolean hasHeaderImageURL()
public boolean hasHint()
public boolean hasKeyContextLocation()
public boolean hasKeyRefConditionFormulaExpression()
public boolean hasKeyRefSelectionLineInfoFE()
public boolean hasTableLayoutParent()
public boolean hasTreeIconFormula()
public boolean hasTreeLabelFormulaExpression()
public boolean hasTreeLinkFormula()
public boolean hasUserModfiedSerialization()
public boolean hidePageNavigation()
public boolean isAllowingCopyPaste()
public boolean isApplicationRequired()
public boolean isBoolean3StateButton()
public boolean isBooleanViewCheckBox()
public boolean isBooleanViewRadioButton()
public boolean isBooleanViewRadioButtonUnselected()
public boolean isCaptionIndentApplyOnAllDescendants()
public boolean isCaptionIndentApplyOnBoth()
public boolean isCaptionIndentApplyOnComponent()
public boolean isCaptionIndentApplyOnDirectDescendants()
public boolean isCaptionIndentApplyOnLabel()
public boolean isCaptionOccurrenceAlways()
public boolean isCaptionOccurrenceApplyOnAllDescendants()
public boolean isCaptionOccurrenceApplyOnDirectDescendants()
public boolean isCaptionOccurrenceDependsOn()
public boolean isCaptionOccurrenceNever()
public boolean isCaptionTypeBorder()
public boolean isChoiceAsComboBox()
public boolean isChoiceAsRadioButton()
public java.lang.Boolean isChoiceAvailable()
public java.lang.Boolean isChoiceEnabled()
public boolean isChoiceLabelVisible()
public boolean isChoiceOrientationHorizontal()
public boolean isComponentMulti()
public boolean isCurrencyControl()
public boolean isDefaultLayout()
public boolean isDialogMode()
public boolean isEditable()
public boolean isEditableAtRuntime()
public boolean isEditableComboBoxEnabled()
public boolean isEditorComponentVisible()
public boolean isEnabled()
public boolean isEnumeration()
public boolean isEnumerationAllowingInvalidCodes()
public boolean isEnumerationAsComboBox()
public boolean isEnumerationAsListBox()
public boolean isEnumerationAsListBoxMultipleSelect()
public boolean isEnumerationAsRadioButton()
public boolean isEnumerationOrientationHorizontal()
public boolean isEnumerationShowErrorForInvalidCodes()
public boolean isEnumerationWithDynamicFreeText()
public boolean isEnumerationWithDynamicFreeTextAndEmptyOption()
public boolean isHierarchyEnabled(Type startType)
public boolean isHintTextBold()
public boolean isHintTextFormula()
public boolean isInitiallyCollapsed()
public boolean isInTableLayoutContext()
public boolean isKeyRefShowingBackLinkButton()
public boolean isKeyRefShowingDetailsButton()
public boolean isKeyRefShowingNewButton()
public boolean isLabelIconPositionBottom()
public boolean isLabelIconPositionLeft()
public boolean isLabelIconPositionRight()
public boolean isLabelIconPositionTop()
public boolean isLabelMulti()
public boolean isLabelUnderlined()
public boolean isLabelVisible()
public boolean isLeafComponentHRef()
public boolean isListPrintModeSerial()
public boolean isListPrintModeTable()
public boolean isListPrintModeTableAndSerial()
public boolean isMarkedAsError()
public boolean isPagingLayout()
public boolean isPanelMode()
public boolean isParentViewHolder()
public boolean isReadOnly()
public byte isReadOnlyNoHash()
public boolean isRepresentedAsHeader()
public boolean isRepresentedAsTab()
public boolean isRepresentedAsTreeNode()
public boolean isSelectionOnly()
public boolean isSelfViewHolder()
public boolean isSerializableAsCDATA()
public boolean isSerialView()
public boolean isSingleChoiceAndSerialize()
public boolean isTabHolder()
public boolean isTableLayout()
public boolean isTreeEntryAllowExpColapse()
public boolean isTreeEntryAllowSearch()
public boolean isTreeEntryAlways()
public boolean isTreeEntryApplyOnAllDescendants()
public boolean isTreeEntryApplyOnDirectDescendants()
public boolean isTreeEntryDependingOn()
public boolean isTreeEntryFocusable()
public boolean isTreeEntryNever()
public boolean isTreeEntryShowAsOptional()
public boolean isTreeEntryShowChildrenAsOptional()
public boolean isUnlocked()
public boolean isUserModifiedSerialization()
public boolean isUserModifiedSerializationCollapsed()
public boolean isUseTableLayoutZebra()
public boolean isUsingCodeSet()
public boolean isUsingExternalEnumeration()
public boolean isUsingGroupingDelimiters()
public boolean isUsingPlugIn()
public boolean isUsingRestrictivePaging()
public boolean isUsingTab()
public boolean isValidationErrorNeedingUserAcceptance()
public boolean isVisible()
public boolean isVisibleAtRuntime()
public boolean isVisibleInOptionalTreeMode()
public byte isVisibleNoHash()
public boolean isXLinkCodeset()
public void markAsError(boolean markAsError)
public void markAsUnlockedField()
public java.lang.Boolean printChoiceAsHeader()
public boolean printLabelOnly()
public void registerNestedDialog(TableCell cell)
public void reinitializeCodeSetValues()
public void release()
release in class AbstractXUIElementpublic void removeHint()
public boolean serializeAsXLink()
public void setActAs(java.lang.String actAs)
public void setAllowEmptyChoice(boolean enabled)
public void setApplicationRequired(boolean applicationRequired)
applicationRequired - true, if the editor component should be application requiredpublic void setBackgroundColor(java.awt.Color color)
color - a new background colorpublic void setBoolean3StateButton()
public void setBooleanVisualizerAsCheckBox()
public void setCaptionIndentValue(float newCaptionIndent)
public void setCaptionOccurrence(boolean hasCaption,
java.lang.String applyOnDescendants)
public void setChoiceEnabled(boolean enabled)
public void setCodeSetClass(java.lang.String className)
className - the name of the codeSet classpublic void setCodeSetName(java.lang.String name)
public void setCodeSetURL(java.lang.String codesetURL)
codesetURL - the URL location of the codeSet
public void setCodeSetValuesFromClass(java.lang.String classURL,
java.lang.String codeSetName,
java.lang.String[] values)
classURL - the path of the codeset classcodeSetName - the name of the codesetvalues - an array that contains the values of the codeset
public void setCodeSetValuesFromFile(java.lang.String fileURL,
java.lang.String codeSetName,
java.lang.String[] codes)
fileURL - the url that points to the codeset filecodeSetName - the name of the codesetcodes - an array that contains the values of the codeset
public void setCodeSetValuesFromFile(java.lang.String fileURL,
java.lang.String codeSetName,
java.lang.String[][] codesArr)
public void setCodeSetValuesFromFile(java.lang.String fileURL,
java.lang.String codeSetName,
java.lang.String[] codes,
boolean syncWithCodeEnum,
boolean valueBasedSync)
public void setComponentColumnWidth(float width)
public void setComponentIndent(float newComponentIndent)
public void setComponentSize(float size)
public void setCSSStyle(java.lang.String className)
public void setEditable(boolean editable)
editable - true if the component is editable, false otherwisepublic void setEditableAtRuntime(boolean editable)
public void setEnabled(boolean enabled)
public void setEnumeration(boolean isEnum)
public void setEnumeration(java.lang.String[] selection)
public void setEnumeration(java.lang.String[][] selection)
public void setEnumerationAsListBoxMultiSelect()
public void setExpandIfContainsData(boolean expand)
public void setForegroundColor(java.awt.Color color)
color - a new foreground colorpublic void setHidePageNavigation(boolean hide)
public void setHint(java.lang.String text,
boolean isFormula,
java.awt.Color color,
boolean isBold)
public void setInitiallyCollapsed(boolean collapsed)
public void setIsVisibleInOptionalTreeMode(boolean isVisible)
public void setLabelColor(java.awt.Color color)
color - a new label colorpublic void setLabelColumnWidth(float width)
public void setLabelIndent(float newLabelIndent)
public void setLabelText(java.lang.String text)
text - public void setLabelVisible(boolean visible)
visible - true if the label should be visiblepublic void setLeafEnumerationDefaultSelection(java.lang.String defaultSelection)
public void setListLabelVisible(boolean visible)
public void setNestedCaptionIndent(float newCaptionIndent)
public void setPDFCaptionFontSize(float fontSize)
public void setPDFCaptionIndent(int captionIndent)
public void setPDFComponentFontSize(float fontSize)
public void setPDFLabelFontSize(float fontSize)
public void setPDFLabelIndent(int labelIndent)
public void setPluginBean(PluginBean bean)
public void setPluginBean(PluginBean bean,
java.lang.String rendererID)
public void setPrintable(boolean printable)
public void setProperty(java.lang.Object fullKey,
java.lang.Object relativeKey,
java.lang.Boolean value)
public void setSelectedTabIdx(int selectedTabIdx)
public void setSelectedTabType(Type selectedTabType)
public void setSerializableAsCDATA(boolean isCDATA)
isCDATA - true if the content should be serialized as CDATApublic void setShowAsLabel(boolean show)
public void setTabIndex(int tabIndex)
tabIndex - the index of the tabpublic void setTableLayoutEvenStyle(java.lang.String cssParam)
public void setTableLayoutOddStyle(java.lang.String cssParam)
public void setTableLayoutStyle(java.lang.String cssParam)
public void setTreeEntry(boolean hasTreeEntry)
hasTreeEntry - true if the current type has a tree entry
public void setTreeEntry(boolean hasTreeEntry,
java.lang.String applyOnDescendants)
hasTreeEntry - true if the current type has a tree entrypublic void setTreeIcon(java.lang.String gifName)
gifName - a file name (gif)public void setUseRestrictivePaging(boolean use)
public void setUserModifiedSerializationCollapsed(boolean collapsed)
public void setUseTableLayoutZebra(boolean use)
public void setUsingGroupingDelimiters(boolean useDelims)
public void setVisible(boolean visible)
public void setVisibleAtRuntime(boolean visible)
public boolean showAsLabel()
public java.lang.String toString()
toString in class java.lang.Object
public java.lang.String translateToCodeSetValue(Type type,
java.lang.String key)
public void update(StyleDefinition styleDefinition)
public void update(Type aType)
public void updateLayoutManager(LayoutInfo info)
public boolean useUserModifiedSerialization()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||