|
|||||||||
| 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.GlobalDefinition
public class GlobalDefinition
Holds all global definitions declared for a XUI.
| Field Summary | |
|---|---|
static java.lang.String |
INITIAL_PROPERTY_DATE_FORMAT
|
static java.lang.String |
INITIAL_PROPERTY_DATE_TIME_FORMAT
|
static java.lang.String |
INITIAL_PROPERTY_IS_RUNNIG_IN_XUIEDITOR
|
static java.lang.String |
INITIAL_PROPERTY_LOCALE
|
static java.lang.String |
INITIAL_PROPERTY_TIME_FORMAT
|
| 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 | |
|---|---|
GlobalDefinition(Type sourceType,
Type xuiType)
GlobalDefinition constructor comment. |
|
| Method Summary | |
|---|---|
boolean |
allowRadioButtonDeselection()
Returns true if a radio button could be deselecte+d. |
void |
allowRadioButtonDeselection(boolean allow)
|
java.lang.String |
convertExponentialValue(java.lang.String number)
|
boolean |
displayErrorText()
|
java.awt.Color |
getApplicationFieldColor()
Returns the color that is defined in the XUI-Document for all fields that are required within the application |
java.lang.Boolean |
getBooleanProperty(java.lang.String path)
|
java.lang.String |
getBooleanVisualizerButtonSequence()
Returns the radio button sequence for boolean visualizers. |
java.lang.String |
getBooleanVisualizerType()
Returns the global set type for boolean visualizers. |
int |
getBottomSpaceClassicSeparator()
Returns the global set bottom space (vertical indent) for classic separators. |
int |
getBottomSpaceComponent()
Returns the global set bottom space (vertical indent) for editor components. |
int |
getBottomSpaceHeader()
Returns the global set bottom space (vertical indent) for headers. |
int |
getBottomSpaceModernSeparator()
Returns the global set bottom space (vertical indent) for modern separators. |
int |
getBottomSpaceTabs()
Returns the global set bottom space (vertical indent) for tabs. |
float |
getComponentColumnWidth()
Returns the column width for the component. |
int |
getComponentMaxLengthString()
Returns the maximum string length. |
int |
getComponentMaxLengthStringMultiLine()
Returns the maximum string length for textAreas. |
java.lang.String |
getCountry()
Returns the country that is defined in the XUI-Document |
java.util.Locale |
getCurrentLocale()
|
java.text.DateFormat |
getDateFormat()
|
java.lang.String |
getDateFormatStringPattern(java.util.Locale loc)
|
java.lang.String |
getDateInputMask()
|
java.text.DateFormat |
getDateTimeFormat()
|
java.lang.String |
getDateTimeFormatStringPattern(java.util.Locale loc)
|
java.lang.String |
getDateTimeInputMask()
|
java.text.DecimalFormat |
getDecimalFormat()
|
char |
getDecimalSeparator()
|
static java.lang.String |
getDefaultDateFormatStringPattern(java.lang.String lang)
|
static java.lang.String |
getDefaultDateTimeFormatShortStringPattern(java.lang.String lang)
|
static java.lang.String |
getDefaultDateTimeFormatStringPattern(java.lang.String lang)
|
static java.lang.String |
getDefaultTimeFormatShortStringPattern(java.lang.String lang)
|
static java.lang.String |
getDefaultTimeFormatStringPattern(java.lang.String lang)
|
java.lang.String |
getDefaultValuePostFix()
gets the postfix value used for marking the default value (prefix + value + postfix-> ( value )) in checkboxes, comboxes,list,... |
java.lang.String |
getDefaultValuePreFix()
gets the prefix value used for marking the default value (prefix + value + postfix-> ( value )) in checkboxes, comboxes,list,... |
float |
getDividerLocation()
Returns the global set divider location. |
java.lang.String |
getEmailCommitXPath()
|
java.awt.Color |
getErrorMarkingColor()
Returns the color which marks errors in a visualizer view. |
java.text.DecimalFormat |
getExponentialToStringFormat()
|
java.lang.String |
getGlobalApplyCaptionIndentOn()
Returns on which element (label, component or both) the caption indent will be applied. |
int |
getGlobalBottomIndent()
Returns the global bottom indent for the type workspace and dialogs. |
float |
getGlobalCaptionIndent()
Returns the global set caption indent as float. |
java.lang.String |
getGlobalCaptionType()
Returns the global set caption type (border, header or separator). |
java.lang.String |
getGlobalChoiceOrientation()
Returns the global set widget orientation for choices (horizontal or vertical). |
java.lang.String |
getGlobalChoiceType()
Returns the global set widget type for choices (ComboBox or RadioButtons). |
java.lang.String |
getGlobalCodeSetURL()
Returns the global CodeSet URL . |
float |
getGlobalComponentIndent()
Returns the global set component indent as float. |
java.lang.String |
getGlobalEnumerationOrientation()
Returns the global set widget orientation for enumerations (horizontal or vertical). |
java.lang.String |
getGlobalEnumerationType()
Returns the global set widget type for enumerations (ComboBox or RadioButtons). |
float |
getGlobalLabelIndent()
Returns the global set label indent as float. |
int |
getGlobalLeftIndent()
Returns the global left indent for the type workspace and dialogs. |
float |
getGlobalNestedIndent()
Returns the global set nested indent as int. |
int |
getGlobalRightIndent()
Returns the global right indent for the type workspace and dialogs. |
int |
getGlobalTopIndent()
Returns the global top indent for the type workspace and dialogs. |
java.lang.String |
getGlobalTreeListEnding()
Returns the global set tree entry label ending (e.g. |
int |
getGlobalVisibleRowCount()
Returns the global set visible row count for tables. |
char |
getGroupingSeparator()
|
java.awt.Color |
getHeaderEndColor()
Returns the global set end color for headers |
java.awt.Color |
getHeaderStartColor()
Returns the global set start color for headers |
java.awt.Color |
getHeaderTextColor()
Returns the global set header text color. |
int |
getHorizontalScrollBarPolicy()
Returns the usage of the horizontal scrollbar as int. |
int |
getInitialTreeExpandDepth()
|
int |
getInnerBottomSpaceBorder()
Returns the global set bottom space (vertical indent) for borders. |
float |
getLabelColumnWidth()
Returns the column width for labels. |
java.lang.String |
getLanguage()
Returns the current set language. |
int |
getLeafSize()
Returns true if a default radio button should be used for optional boolean types. |
int |
getMinWorkspaceWidth()
Returns the minimum workspace width that is used to calculate the constraints for the layout of labels and components. |
java.lang.String |
getNegativeIntNumberSymbols()
|
java.lang.String |
getNumberSymbols()
|
java.awt.Color |
getOptionalFieldColor()
Returns the color that is defined in the XUI-Document for all unrequired fields. |
int |
getOuterBottomSpaceBorder()
Returns the global set bottom space (vertical indent) for borders. |
java.lang.String |
getPositiveIntNumberSymbols()
|
java.lang.String |
getRequiredMandatoryMarker()
|
java.awt.Color |
getSchemaRequiredFieldColor()
Returns the color for all mandatory components. |
java.awt.Dimension |
getScreenSize()
Returns the default screensize or as defined in the XUI-Document. |
java.text.DateFormat |
getTimeFormat()
|
java.lang.String |
getTimeFormatStringPattern(java.util.Locale loc)
|
java.lang.String |
getTimeInputMask()
|
java.lang.String |
getTimeInputMask(java.lang.String pattern)
|
int |
getTopSpaceBorder()
Returns the global set top space (vertical indent) for borders. |
int |
getTopSpaceClassicSeparator()
Returns the global set top space (vertical indent) for classic separators. |
int |
getTopSpaceComponent()
Returns the global set top space (vertical indent) for editor components. |
int |
getTopSpaceHeader()
Returns the global set top space (vertical indent) for headers. |
int |
getTopSpaceModernSeparator()
Returns the global set top space (vertical indent) for modern separators. |
int |
getTopSpaceTabs()
Returns the global set top space (vertical indent) for tabs. |
java.util.List |
getTreeRoot()
Returns the root nodes for visualizing in the navigation tree. |
Type |
getTreeSelection()
Returns the initial selection xpath in the navigation tree. |
int |
getVerticalScrollBarPolicy()
Returns the usage of the vertical scrollbar as int. |
java.util.Map |
getXUIProperties()
|
Type |
getXUIType()
|
boolean |
hasBorderTopSpace()
Returns true if a top space indent has been defined globally for borders. |
boolean |
hasClassicSepBottomSpace()
Returns true if a bottom space indent has been defined globally for classic separators. |
boolean |
hasClassicSepTopSpace()
Returns true if a top space indent has been defined globally for classic separators. |
boolean |
hasComponentBottomSpace()
Returns true if a bottom space indent has been defined globally for editor components. |
boolean |
hasComponentTopSpace()
Returns true if a top space indent has been defined globally for editor components. |
boolean |
hasHeaderBottomSpace()
Returns true if a bottom space indent has been defined globally for headers. |
boolean |
hasHeaderTopSpace()
Returns true if a top space indent has been defined globally for headers. |
boolean |
hasInnerBorderBottomSpace()
Returns true if the inner bottom space indent has been defined globally for borders. |
boolean |
hasModernSepBottomSpace()
Returns true if a bottom space indent has been defined globally for modern separators. |
boolean |
hasModernSepTopSpace()
Returns true if a top space indent has been defined globally for modern separators. |
boolean |
hasOuterBorderBottomSpace()
Returns true if the outer bottom space indent has been defined globally for borders. |
boolean |
hasTabsBottomSpace()
Returns true if a bottom space indent has been defined globally for tabs. |
boolean |
hasTabsTopSpace()
Returns true if a top space indent has been defined globally for tabs. |
boolean |
hasUserModfiedSerialization()
Returns true if a xui style exists for global style caption usermodifiedserilization |
boolean |
hideEmptyElements()
|
boolean |
hideRequiredState()
|
boolean |
isAddListEntryAfter()
|
boolean |
isAllowingCopyPaste()
|
boolean |
isAllowingSavingWithErrors()
Returns whether the document can be saved even if validation errors exist |
boolean |
isAutoCreateMaxOccurListItems()
Returns whether the defined max occurs property should enforce an auto creation of the required max cardinality. |
boolean |
isAutoCreateMinOccurListItems()
Returns whether the defined min occurs property should enforce an auto creation of the required cardinality. |
boolean |
isDefaultTreeEntryForHeaders()
Returns true if all childs that has their caption set to "header" will get a treeEntry in the navigation tree. |
boolean |
isEditable()
Returns whether the document can be edited or not. |
boolean |
isErrorSound()
Returns whether the defined defaults in the schema should use a System Sound (Beep) for any errors |
boolean |
isFirstRadioButtonYes()
Returns true if the first radio button is YES for boolean visualizers. |
boolean |
isGlobalApplyCaptionIndentOnBoth()
Returns true if the caption indent should be applied on components and labels. |
boolean |
isGlobalApplyCaptionIndentOnComponent()
Returns true if the caption indent should be applied on components. |
boolean |
isGlobalApplyCaptionIndentOnLabel()
Returns true if the caption indent will applied on labels |
boolean |
isGlobalCaptionHideIfOnlyOneVisibleChild()
Returns true if the caption is hided if only a composite holds only one visible child. |
boolean |
isGlobalCaptionHideUnnamed()
Returns true if the caption for unnamed types should be hidden for anonymous (unnamed) type definitions. |
boolean |
isGlobalCaptionTypeBorder()
Returns true if the global caption type is set to border. |
boolean |
isGlobalCaptionTypeClassicSeparator()
Returns true if the global caption type is set to classic separator. |
boolean |
isGlobalCaptionTypeHeader()
Returns true if the global caption type is set to header. |
boolean |
isGlobalCaptionTypeModernSeparator()
Returns true if the global caption type is set to modern separator. |
boolean |
isGlobalChoiceOrientationHorizontal()
Returns true if the global choice orientation is set to horizontal. |
boolean |
isGlobalChoiceTypeComboBox()
Returns true if the global choice type is set to ComboBox. |
boolean |
isGlobalEnumerationOrientationHorizontal()
Returns true if the global enumeration orientation is set to horizontal. |
boolean |
isGlobalEnumerationTypeComboBox()
Returns true if the global enumeration type is set to ComboBox. |
boolean |
isMarkAllOnFocus()
Returns true if the input element should mark the whole input if element is selected. |
boolean |
isOptionalBorderCollapsed()
Returns whether the optional borders are initially collapsed or expanded. |
boolean |
isRightSideErrorDisplay()
|
java.lang.Boolean |
isSerializingAttributes()
Returns whether the defined defaults in the schema should be serialized or not. |
boolean |
isSerializingDefaults()
Returns whether the defined defaults in the schema should be serialized or not. |
boolean |
isSerializingEmptyContent()
Returns whether empty content should be serialized if all its type ancestors are mandatory (1:1 cardinality). |
boolean |
isSerializingExtendedPIInfo()
|
boolean |
isSerializingSimpleDefaultNullValue()
Returns whether empty content should be serialized if all its type ancestors are mandatory (1:1 cardinality). |
boolean |
isShowAttributes()
Returns whether the defined defaults in the schema should shown the default attributes |
boolean |
isShowHelpPanel()
Returns whether the help panel will be displayed or not. |
boolean |
isShowingEditorPanel()
Returns wether the editor panel should be visible or not. |
boolean |
isShowingErrorSummary()
|
boolean |
isShowingOnlyMandatoryElements()
|
boolean |
isShowingOptionalBorderControl()
Returns true if the border control will be displayed for optional borders. |
boolean |
isShowingTree()
Returns wether the tree should be visible or not. |
boolean |
isShowingTreeListContainer()
Returns wether the tree label of list types should be displayed with a list ending (e.g. item(s)). |
boolean |
isSingleChoiceAndSerialize()
Returns true if optional choices loose their optionality if a selection has been made. |
boolean |
isSoftBinding()
|
boolean |
isUseComboSelectionForAbstractChoice()
|
boolean |
isUserModfiedSerialization()
Returns true if the user can modify the serialization state for a type |
boolean |
isUserModfiedSerializationCollapsed()
Returns true if the user can modify the serialization state for a type |
boolean |
isUserModfiedTabSerialization()
|
boolean |
isUsingAnnotationHelp()
Use xml schema annotations as help provider for help content in help panel area |
boolean |
isUsingAnnotationHelpInTooltip()
Use xml schema annotations as help provider for tooltip content |
boolean |
isUsingBackwardButton()
Returns whether the backwardButton is used or not. |
boolean |
isUsingBooleanDefaultOption()
Returns true if a default radio button should be used for optional boolean types. |
boolean |
isUsingButtonBar()
Returns whether the button bar is used or not. |
boolean |
isUsingChronErrorSequence()
Returns whether the defined defaults in the schema should be using chronogical error sequence |
boolean |
isUsingForwardButton()
Returns whether the forwardButton is used or not. |
boolean |
isUsingNavigationKeys()
Returns whether the navigation keys are used for tree navigation. |
boolean |
isUsingPlugins()
Returns whether plug-ins are used or not. |
boolean |
isUsingQuickChooserForChoiceListEntries()
|
boolean |
isUsingStatusBar()
Returns whether the status bar is used or not. |
boolean |
isValidatingEmptyMandatoryContent()
Returns whether empty content should be serialized if all its type ancestors are mandatory (1:1 cardinality). |
void |
release()
|
void |
releaseProperties()
Releases the current properties. |
void |
resetInternationalization()
|
void |
setAddListEntryAfter(boolean end)
|
void |
setAllowCopyPaste(boolean allow)
|
void |
setAllowingSavingWithErrors(boolean allowSaving)
Sets whether the document can be saved even if validation errors exist |
void |
setApplicationFieldColor(java.awt.Color newColor)
Sets the color for the application required fields. |
void |
setBooleanVisualizerButtonSequence(java.lang.String buttonSequence)
Sets the radio button sequence for boolean visualizers. |
void |
setBooleanVisualizerType(java.lang.String type)
Sets the global set type for boolean visualizers. |
void |
setBottomSpaceClassicSeparator(int bottomSpace)
Sets the global bottom space (vertical indent) for classic separators. |
void |
setBottomSpaceComponent(int bottomSpace)
Sets the global set bottom space (vertical indent) for editor components. |
void |
setBottomSpaceHeader(int bottomSpace)
Sets the global bottom space (vertical indent) for headers. |
void |
setBottomSpaceModernSeparator(int bottomSpace)
Sets the global bottom space (vertical indent) for modern separators. |
void |
setBottomSpaceTabs(int bottomSpace)
Sets the global bottom space (vertical indent) for tabs. |
void |
setComponentColumnWidth(float width)
Sets the column width for the component. |
void |
setDateFormat(java.text.DateFormat df)
|
void |
setDateFormat(java.lang.String pattern)
|
void |
setDateTimeFormat(java.text.DateFormat dtf)
|
void |
setDateTimeFormat(java.lang.String pattern)
|
void |
setDecimalFormat(java.text.DecimalFormat format)
|
void |
setDefaultTreeEntryForHeaders(boolean showTreeEntry)
Sets wether all childs that has their caption set to "header" will get a treeEntry in the navigation tree. |
void |
setDefaultValuePostFix(java.lang.String postFix)
Sets the postfix value used for marking the default value (prefix + value + postfix-> ( value )) in checkboxes, comboxes,list,... |
void |
setDefaultValuePreFix(java.lang.String preFix)
Sets the prefix value used for marking the default value (prefix + value + postfix-> ( value )) in checkboxes, comboxes,list,... |
void |
setDividerLocation(float value)
Sets the divider location between tree and workspace |
void |
setEditable(boolean editable)
Sets whether the document can be edited or not. |
void |
setErrorMarkingColor(java.awt.Color color)
Sets the color which marks errors in a visualizer view. |
void |
setErrorSound(boolean useSound)
Sets whether the defined defaults in the schema should use a System Sound (Beep) for any errors |
void |
setGlobalApplyCaptionIndentOnBoth()
Sets the caption indent for both components and labels. |
void |
setGlobalApplyCaptionIndentOnComponent()
Sets the caption indent for all components. |
void |
setGlobalApplyCaptionIndentOnLabel()
Sets the caption indent for all labels. |
void |
setGlobalBottomIndent(int value)
Sets the global bottom indent for the type workspace and dialogs. |
void |
setGlobalCaptionIndent(float value)
Sets the global caption indent as float. |
void |
setGlobalCaptionTypeToBorder()
Sets the global caption type to border. |
void |
setGlobalCaptionTypeToClassicSeparator()
Sets the global caption type to classic separator. |
void |
setGlobalCaptionTypeToHeader()
Sets the global caption type to header. |
void |
setGlobalCaptionTypeToModernSeparator()
Sets the global caption type to modern separator. |
void |
setGlobalChoiceOrientationHorizontal()
Sets the global widget orientation as horizontal. |
void |
setGlobalChoiceOrientationVertical()
Sets the global widget orientation as vertical. |
void |
setGlobalChoiceTypeToComboBox()
Sets the global widget type for choices to ComboBox. |
void |
setGlobalChoiceTypeToRadioButtons()
Sets the global widget type for choices to RadioButtons. |
void |
setGlobalComponentIndent(float value)
Sets the global component indent as float. |
void |
setGlobalLabelIndent(float value)
Sets the global label indent as float. |
void |
setGlobalLeftIndent(int value)
Sets the global left indent for the type workspace and dialogs. |
void |
setGlobalNestedIndent(float value)
Sets the global nested indent. |
void |
setGlobalRightIndent(int value)
Sets the global right indent for the type workspace and dialogs. |
void |
setGlobalTopIndent(int value)
Sets the global top indent for the type workspace and dialogs. |
void |
setGlobalTreeListEnding(java.lang.String ending)
Sets the global tree entry label ending (e.g. |
void |
setGlobalVisibleRowCount(int value)
Sets the global visible row count for tables. |
void |
setHeaderEndColor(java.awt.Color color)
Sets the global end color for headers. |
void |
setHeaderStartColor(java.awt.Color color)
Sets the global start color for headers |
void |
setHeaderTextColor(java.awt.Color color)
Sets the global header text color |
void |
setHorizontalScrollBarPolicyToAlways()
Sets the horizontal scrollbar policy to ALWAYS. |
void |
setHorizontalScrollBarPolicyToAsNeeded()
Sets the horizontal scrollbar policy to AS NEEDED. |
void |
setHorizontalScrollBarPolicyToNever()
Sets the horizontal scrollbar policy to NEVER. |
void |
setInnerBottomSpaceBorder(int value)
Sets the global bottom space (vertical indent) for borders. |
void |
setIsShowingOnlyMandatoryElements(boolean showOnly)
|
void |
setIsUsingAnnotationHelp(boolean use)
|
void |
setIsUsingBackwardButton(boolean use)
Sets whether the backwardButton is used or not. |
void |
setIsUsingButtonBar(boolean use)
Sets whether the button bar is used or not. |
void |
setIsUsingChronErrorSequence(boolean chronErrorSequence)
Sets whether the defined defaults in the schema should be using chronological error sequence |
void |
setIsUsingForwardButton(boolean use)
Sets whether the forwardButton is used or not. |
void |
setIsUsingNavigationKeys(boolean use)
Sets whether the navigation keys are used for tree navigation. |
void |
setIsUsingPlugins(boolean use)
Sets whether plug-ins are used or not. |
void |
setIsUsingStatusBar(boolean useStatusBar)
Sets whether the status bar is used or not. |
void |
setLabelColumnWidth(float value)
Sets the column width for labels. |
void |
setLanguage(java.lang.String language)
Sets the current language. |
void |
setLanguageWithoutReinitialize(java.lang.String language)
|
void |
setMarkAllOnFocus(boolean markAll)
|
void |
setMinWorkspaceWidth(int value)
Sets the minimum workspace width that is used to calculate the constraints for the layout of labels and components. |
void |
setOptionalBorderCollapsed(boolean collapsed)
Sets whether the optional borders are initially collapsed or expanded. |
void |
setOptionalFieldColor(java.awt.Color color)
Sets the color for all unrequired components. |
void |
setOuterBottomSpaceBorder(int value)
Sets the global bottom space (vertical indent) for borders. |
void |
setRequiredMandatoryMarker(java.lang.String alterMarker)
|
void |
setRightSideErrorDisplay(boolean isRight)
|
void |
setSchemaRequiredFieldColor(java.awt.Color color)
Sets the color for all mandatory components. |
void |
setScreenSize(java.awt.Dimension size)
Sets the screen size. |
void |
setSerializingAttributes(boolean serialize)
Sets whether the defined defaults in the schema should be serialized or not. |
void |
setSerializingDefaults(boolean serialize)
Sets whether the defined defaults in the schema should be serialized or not. |
void |
setSerializingEmptyContent(boolean serialize)
Returns whether empty content should be serialized if all its type ancestors are mandatory (1:1 cardinality). |
void |
setSerializingSimpleDefaultNullValue(boolean serialize)
|
void |
setShowAndSerializeFixedValues(boolean showAndSerialize)
Sets wether the fixed values of the schema should be visible and serializable. |
void |
setShowAttributes(boolean show)
Sets whether the defined defaults in the schema should shown the default attributes |
void |
setShowHelpPanel(boolean show)
Sets whether the help panel will be displayed or not. |
void |
setShowingOptionalBorderControl(boolean show)
Sets wether the border control should be displayed for optional borders. |
void |
setShowingTree(boolean show)
Sets wether the tree should be visible or not. |
void |
setShowingTreeListContainer(boolean show)
Sets wether the tree label of list types should be displayed with a list ending (e.g. item(s)). |
void |
setSingleChoiceAndSerialize(boolean singleChoiceAndSerialize)
Sets wether the optional choices loose their optionality if a selection has been made. |
void |
setSoftBinding(boolean soft)
|
void |
setSystemExitOnClose(boolean exit)
Sets whether the system will exit when the window is closed or not. |
void |
setTimeFormat(java.text.DateFormat tf)
|
void |
setTimeFormat(java.lang.String pattern)
|
void |
setTopSpaceBorder(int value)
Sets the global top space (vertical indent) for borders. |
void |
setTopSpaceClassicSeparator(int value)
Sets the global top space (vertical indent) for classic separators. |
void |
setTopSpaceComponent(int value)
Sets the global top space (vertical indent) for editor components. |
void |
setTopSpaceHeader(int value)
Sets the global top space (vertical indent) for headers. |
void |
setTopSpaceModernSeparator(int value)
Sets the global top space (vertical indent) for modern separators. |
void |
setTopSpaceTabs(int value)
Sets the global top space (vertical indent) for tabs. |
void |
setTreeRoot(java.lang.String xpath)
Sets the root node of the navigation tree. |
void |
setTreeSelection(java.lang.String xpath)
Sets the desired node to be initially selected |
void |
setUseGlobalTypes(boolean use)
|
void |
setUseOptionalCheckBox(boolean use)
Sets whether optional check boxes are used or not. |
void |
setVerticalScrollBarPolicyToAlways()
Sets the horizontal scrollbar policy to ALWAYS. |
void |
setVerticalScrollBarPolicyToAsNeeded()
Sets the horizontal scrollbar policy to AS NEEDED. |
void |
setVerticalScrollBarPolicyToNever()
Sets the horizontal scrollbar policy to NEVER. |
boolean |
showAndSerializeFixedValues()
Returns true if the fixed values of the schema should be visible and serializable. |
boolean |
systemExitOnClose()
Returns whether the system will exit when the window is closed or not. |
int |
useAutomaticTabbedChildrenView()
If -1 do not use automatic tabbed children view. |
boolean |
useGlobalUIDefintions()
|
boolean |
useOptionalCheckBox()
Returns whether optional check boxes are used or not. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String INITIAL_PROPERTY_DATE_FORMAT
public static final java.lang.String INITIAL_PROPERTY_DATE_TIME_FORMAT
public static final java.lang.String INITIAL_PROPERTY_IS_RUNNIG_IN_XUIEDITOR
public static final java.lang.String INITIAL_PROPERTY_LOCALE
public static final java.lang.String INITIAL_PROPERTY_TIME_FORMAT
| Constructor Detail |
|---|
public GlobalDefinition(Type sourceType,
Type xuiType)
xuiDefinition - com.jaxfront.core.xui.XUIDefinitionxuiType - com.jaxfront.core.type.Type| Method Detail |
|---|
public boolean allowRadioButtonDeselection()
public void allowRadioButtonDeselection(boolean allow)
public java.lang.String convertExponentialValue(java.lang.String number)
throws java.lang.NumberFormatException
java.lang.NumberFormatExceptionpublic boolean displayErrorText()
public java.awt.Color getApplicationFieldColor()
public java.lang.Boolean getBooleanProperty(java.lang.String path)
public java.lang.String getBooleanVisualizerButtonSequence()
public java.lang.String getBooleanVisualizerType()
public int getBottomSpaceClassicSeparator()
public int getBottomSpaceComponent()
public int getBottomSpaceHeader()
public int getBottomSpaceModernSeparator()
public int getBottomSpaceTabs()
public float getComponentColumnWidth()
public int getComponentMaxLengthString()
public int getComponentMaxLengthStringMultiLine()
public java.lang.String getCountry()
public java.util.Locale getCurrentLocale()
public java.text.DateFormat getDateFormat()
public java.lang.String getDateFormatStringPattern(java.util.Locale loc)
public java.lang.String getDateInputMask()
public java.text.DateFormat getDateTimeFormat()
public java.lang.String getDateTimeFormatStringPattern(java.util.Locale loc)
public java.lang.String getDateTimeInputMask()
public java.text.DecimalFormat getDecimalFormat()
public char getDecimalSeparator()
public static java.lang.String getDefaultDateFormatStringPattern(java.lang.String lang)
public static java.lang.String getDefaultDateTimeFormatShortStringPattern(java.lang.String lang)
public static java.lang.String getDefaultDateTimeFormatStringPattern(java.lang.String lang)
public static java.lang.String getDefaultTimeFormatShortStringPattern(java.lang.String lang)
public static java.lang.String getDefaultTimeFormatStringPattern(java.lang.String lang)
public java.lang.String getDefaultValuePostFix()
public java.lang.String getDefaultValuePreFix()
public float getDividerLocation()
public java.lang.String getEmailCommitXPath()
public java.awt.Color getErrorMarkingColor()
public java.text.DecimalFormat getExponentialToStringFormat()
public java.lang.String getGlobalApplyCaptionIndentOn()
public int getGlobalBottomIndent()
public float getGlobalCaptionIndent()
public java.lang.String getGlobalCaptionType()
public java.lang.String getGlobalChoiceOrientation()
public java.lang.String getGlobalChoiceType()
public java.lang.String getGlobalCodeSetURL()
public float getGlobalComponentIndent()
public java.lang.String getGlobalEnumerationOrientation()
public java.lang.String getGlobalEnumerationType()
public float getGlobalLabelIndent()
public int getGlobalLeftIndent()
public float getGlobalNestedIndent()
public int getGlobalRightIndent()
public int getGlobalTopIndent()
public java.lang.String getGlobalTreeListEnding()
public int getGlobalVisibleRowCount()
public char getGroupingSeparator()
public java.awt.Color getHeaderEndColor()
public java.awt.Color getHeaderStartColor()
public java.awt.Color getHeaderTextColor()
public int getHorizontalScrollBarPolicy()
public int getInitialTreeExpandDepth()
public int getInnerBottomSpaceBorder()
public float getLabelColumnWidth()
public java.lang.String getLanguage()
public int getLeafSize()
public int getMinWorkspaceWidth()
public java.lang.String getNegativeIntNumberSymbols()
public java.lang.String getNumberSymbols()
public java.awt.Color getOptionalFieldColor()
public int getOuterBottomSpaceBorder()
public java.lang.String getPositiveIntNumberSymbols()
public java.lang.String getRequiredMandatoryMarker()
public java.awt.Color getSchemaRequiredFieldColor()
public java.awt.Dimension getScreenSize()
public java.text.DateFormat getTimeFormat()
public java.lang.String getTimeFormatStringPattern(java.util.Locale loc)
public java.lang.String getTimeInputMask()
public java.lang.String getTimeInputMask(java.lang.String pattern)
public int getTopSpaceBorder()
public int getTopSpaceClassicSeparator()
public int getTopSpaceComponent()
public int getTopSpaceHeader()
public int getTopSpaceModernSeparator()
public int getTopSpaceTabs()
public java.util.List getTreeRoot()
public Type getTreeSelection()
public int getVerticalScrollBarPolicy()
public java.util.Map getXUIProperties()
public Type getXUIType()
public boolean hasBorderTopSpace()
public boolean hasClassicSepBottomSpace()
public boolean hasClassicSepTopSpace()
public boolean hasComponentBottomSpace()
public boolean hasComponentTopSpace()
public boolean hasHeaderBottomSpace()
public boolean hasHeaderTopSpace()
public boolean hasInnerBorderBottomSpace()
public boolean hasModernSepBottomSpace()
public boolean hasModernSepTopSpace()
public boolean hasOuterBorderBottomSpace()
public boolean hasTabsBottomSpace()
public boolean hasTabsTopSpace()
public boolean hasUserModfiedSerialization()
public boolean hideEmptyElements()
public boolean hideRequiredState()
public boolean isAddListEntryAfter()
public boolean isAllowingCopyPaste()
public boolean isAllowingSavingWithErrors()
public boolean isAutoCreateMaxOccurListItems()
public boolean isAutoCreateMinOccurListItems()
public boolean isDefaultTreeEntryForHeaders()
public boolean isEditable()
public boolean isErrorSound()
public boolean isFirstRadioButtonYes()
public boolean isGlobalApplyCaptionIndentOnBoth()
public boolean isGlobalApplyCaptionIndentOnComponent()
public boolean isGlobalApplyCaptionIndentOnLabel()
public boolean isGlobalCaptionHideIfOnlyOneVisibleChild()
public boolean isGlobalCaptionHideUnnamed()
public boolean isGlobalCaptionTypeBorder()
public boolean isGlobalCaptionTypeClassicSeparator()
public boolean isGlobalCaptionTypeHeader()
public boolean isGlobalCaptionTypeModernSeparator()
public boolean isGlobalChoiceOrientationHorizontal()
public boolean isGlobalChoiceTypeComboBox()
public boolean isGlobalEnumerationOrientationHorizontal()
public boolean isGlobalEnumerationTypeComboBox()
public boolean isMarkAllOnFocus()
public boolean isOptionalBorderCollapsed()
public boolean isRightSideErrorDisplay()
public java.lang.Boolean isSerializingAttributes()
public boolean isSerializingDefaults()
public boolean isSerializingEmptyContent()
public boolean isSerializingExtendedPIInfo()
public boolean isSerializingSimpleDefaultNullValue()
public boolean isShowAttributes()
public boolean isShowHelpPanel()
public boolean isShowingEditorPanel()
public boolean isShowingErrorSummary()
public boolean isShowingOnlyMandatoryElements()
public boolean isShowingOptionalBorderControl()
public boolean isShowingTree()
public boolean isShowingTreeListContainer()
public boolean isSingleChoiceAndSerialize()
public boolean isSoftBinding()
public boolean isUseComboSelectionForAbstractChoice()
public boolean isUserModfiedSerialization()
public boolean isUserModfiedSerializationCollapsed()
public boolean isUserModfiedTabSerialization()
public boolean isUsingAnnotationHelp()
public boolean isUsingAnnotationHelpInTooltip()
public boolean isUsingBackwardButton()
public boolean isUsingBooleanDefaultOption()
public boolean isUsingButtonBar()
public boolean isUsingChronErrorSequence()
public boolean isUsingForwardButton()
public boolean isUsingNavigationKeys()
public boolean isUsingPlugins()
public boolean isUsingQuickChooserForChoiceListEntries()
public boolean isUsingStatusBar()
public boolean isValidatingEmptyMandatoryContent()
public void release()
release in class AbstractXUIElementAbstractXUIElement.release()public void releaseProperties()
public void resetInternationalization()
public void setAddListEntryAfter(boolean end)
public void setAllowCopyPaste(boolean allow)
public void setAllowingSavingWithErrors(boolean allowSaving)
allowSaving - true if the document can be saved with errors, false otherwisepublic void setApplicationFieldColor(java.awt.Color newColor)
newColor - public void setBooleanVisualizerButtonSequence(java.lang.String buttonSequence)
buttonSequence - the radio button sequence may be "no,yes" or "yes,no"public void setBooleanVisualizerType(java.lang.String type)
type - radioButton, radioButtonUnselected, checkBoxpublic void setBottomSpaceClassicSeparator(int bottomSpace)
bottomSpace - the global bottom space for classic separatorspublic void setBottomSpaceComponent(int bottomSpace)
bottomSpace - the global set bottom space for editor componentspublic void setBottomSpaceHeader(int bottomSpace)
bottomSpace - the global bottom space for headerspublic void setBottomSpaceModernSeparator(int bottomSpace)
bottomSpace - the global bottom space for modern separatorspublic void setBottomSpaceTabs(int bottomSpace)
bottomSpace - the global bottom space for tabspublic void setComponentColumnWidth(float width)
public void setDateFormat(java.text.DateFormat df)
public void setDateFormat(java.lang.String pattern)
public void setDateTimeFormat(java.text.DateFormat dtf)
public void setDateTimeFormat(java.lang.String pattern)
public void setDecimalFormat(java.text.DecimalFormat format)
public void setDefaultTreeEntryForHeaders(boolean showTreeEntry)
showTreeEntry - true if childs with a header caption get a tree entrypublic void setDefaultValuePostFix(java.lang.String postFix)
postFix - public void setDefaultValuePreFix(java.lang.String preFix)
preFix - public void setDividerLocation(float value)
value - the divider locationpublic void setEditable(boolean editable)
editable - true if the document can be edited, false otherwisepublic void setErrorMarkingColor(java.awt.Color color)
color - the error marking colorpublic void setErrorSound(boolean useSound)
public void setGlobalApplyCaptionIndentOnBoth()
public void setGlobalApplyCaptionIndentOnComponent()
public void setGlobalApplyCaptionIndentOnLabel()
public void setGlobalBottomIndent(int value)
value - the global bottom indentpublic void setGlobalCaptionIndent(float value)
value - the global caption indentpublic void setGlobalCaptionTypeToBorder()
public void setGlobalCaptionTypeToClassicSeparator()
public void setGlobalCaptionTypeToHeader()
public void setGlobalCaptionTypeToModernSeparator()
public void setGlobalChoiceOrientationHorizontal()
public void setGlobalChoiceOrientationVertical()
public void setGlobalChoiceTypeToComboBox()
public void setGlobalChoiceTypeToRadioButtons()
public void setGlobalComponentIndent(float value)
value - the global component indentpublic void setGlobalLabelIndent(float value)
value - the global label indentpublic void setGlobalLeftIndent(int value)
value - the global left indentpublic void setGlobalNestedIndent(float value)
value - the global nested indentpublic void setGlobalRightIndent(int value)
value - the global right indentpublic void setGlobalTopIndent(int value)
value - the global top indentpublic void setGlobalTreeListEnding(java.lang.String ending)
ending - the global tree entry label endingpublic void setGlobalVisibleRowCount(int value)
value - the global visible row countpublic void setHeaderEndColor(java.awt.Color color)
color - the end color for headerspublic void setHeaderStartColor(java.awt.Color color)
color - the start color for headerspublic void setHeaderTextColor(java.awt.Color color)
color - the global header text colorpublic void setHorizontalScrollBarPolicyToAlways()
public void setHorizontalScrollBarPolicyToAsNeeded()
public void setHorizontalScrollBarPolicyToNever()
public void setInnerBottomSpaceBorder(int value)
value - the global bottom space for borderspublic void setIsShowingOnlyMandatoryElements(boolean showOnly)
public void setIsUsingAnnotationHelp(boolean use)
public void setIsUsingBackwardButton(boolean use)
use - true if the backwardButton is used, false otherwisepublic void setIsUsingButtonBar(boolean use)
use - true if the button bar is used, false otherwisepublic void setIsUsingChronErrorSequence(boolean chronErrorSequence)
chronErrorSequence - true if the errors should be ordered chronologicalpublic void setIsUsingForwardButton(boolean use)
use - true if the forwardButton is used, false otherwisepublic void setIsUsingNavigationKeys(boolean use)
use - true if the keys are used, false otherwisepublic void setIsUsingPlugins(boolean use)
use - true if plug-ins are used, false otherwisepublic void setIsUsingStatusBar(boolean useStatusBar)
useStatusBar - true if the status bar should be used, false otherwisepublic void setLabelColumnWidth(float value)
value - the column width for labelspublic void setLanguage(java.lang.String language)
language - the current languagepublic void setLanguageWithoutReinitialize(java.lang.String language)
public void setMarkAllOnFocus(boolean markAll)
public void setMinWorkspaceWidth(int value)
value - the minimum workspace widthpublic void setOptionalBorderCollapsed(boolean collapsed)
collapsed - true if the optional borders are initially collapsed, false otherwisepublic void setOptionalFieldColor(java.awt.Color color)
color - the color for all unrequired componentspublic void setOuterBottomSpaceBorder(int value)
value - the global bottom space for borderspublic void setRequiredMandatoryMarker(java.lang.String alterMarker)
public void setRightSideErrorDisplay(boolean isRight)
public void setSchemaRequiredFieldColor(java.awt.Color color)
color - the color of the mandatory componentspublic void setScreenSize(java.awt.Dimension size)
size - the screenSizepublic void setSerializingAttributes(boolean serialize)
serialize - true if attributes should be serializedpublic void setSerializingDefaults(boolean serialize)
serialize - true if the schema default values should be serializedpublic void setSerializingEmptyContent(boolean serialize)
public void setSerializingSimpleDefaultNullValue(boolean serialize)
public void setShowAndSerializeFixedValues(boolean showAndSerialize)
showAndSerialize - true if the fixed values of the schema should be visible and serializablepublic void setShowAttributes(boolean show)
show - true if attributes should be visiblepublic void setShowHelpPanel(boolean show)
show - true if the help panel should be visiblepublic void setShowingOptionalBorderControl(boolean show)
show - true if the border control should be displayed for optional borderspublic void setShowingTree(boolean show)
show - true if the tree should be visible or notpublic void setShowingTreeListContainer(boolean show)
show - true if the tree label should be displayed with a list endingpublic void setSingleChoiceAndSerialize(boolean singleChoiceAndSerialize)
singleChoiceAndSerialize - true if optional choices loose their optionality if a selection has been madepublic void setSoftBinding(boolean soft)
public void setSystemExitOnClose(boolean exit)
exit - true if the system will exit when the window is closed, false otherwisepublic void setTimeFormat(java.text.DateFormat tf)
public void setTimeFormat(java.lang.String pattern)
public void setTopSpaceBorder(int value)
value - the global top space for borderspublic void setTopSpaceClassicSeparator(int value)
value - the global top space for classic separatorspublic void setTopSpaceComponent(int value)
value - the global top space for editor componentspublic void setTopSpaceHeader(int value)
value - the global top space for headerspublic void setTopSpaceModernSeparator(int value)
value - the global top space for modern separatorspublic void setTopSpaceTabs(int value)
value - the global top space for tabspublic void setTreeRoot(java.lang.String xpath)
xpath - the xpath of the root nodepublic void setTreeSelection(java.lang.String xpath)
xpath - the xpath of the node to be selectedpublic void setUseGlobalTypes(boolean use)
public void setUseOptionalCheckBox(boolean use)
use - true if optional check boxes are used, false otherwisepublic void setVerticalScrollBarPolicyToAlways()
public void setVerticalScrollBarPolicyToAsNeeded()
public void setVerticalScrollBarPolicyToNever()
public boolean showAndSerializeFixedValues()
public boolean systemExitOnClose()
public int useAutomaticTabbedChildrenView()
public boolean useGlobalUIDefintions()
public boolean useOptionalCheckBox()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||