|
||||||||||
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 | |
---|---|
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.text.DateFormat |
getDateTimeFormat()
|
java.lang.String |
getDateTimeFormatStringPattern(java.util.Locale loc)
|
java.text.DecimalFormat |
getDecimalFormat()
|
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.awt.Color |
getErrorMarkingColor()
Returns the color which marks errors in a visualizer view. |
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. |
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.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 |
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)
|
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. |
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 |
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 |
isOptionalBorderCollapsed()
Returns whether the optional borders are initially collapsed or expanded. |
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 |
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 |
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 |
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 |
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 |
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 |
setDateTimeFormat(java.text.DateFormat dtf)
|
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 |
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 |
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 |
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 |
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 |
setSystemExitOnClose(boolean exit)
Sets whether the system will exit when the window is closed or not. |
void |
setTimeFormat(java.text.DateFormat tf)
|
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 |
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. |
boolean |
useOptionalCheckBox()
Returns whether optional check boxes are used or not. |
Methods inherited from class com.jaxfront.core.xui.AbstractXUIElement |
---|
addPropertyChangeListener, getBooleanProperty, getBooleanProperty, getPropertyChangeSupport, getSerialListInfo, getTableInfo, getTableInfoPDF, getTabListInfo, hasProperties, initAction, initializeDefaultProperties, isListTableVisible, isUsingSerialList, isUsingTableList, isUsingTabList, removeProperty, setProperty |
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_LOCALE
public static final java.lang.String INITIAL_PROPERTY_TIME_FORMAT
public static final java.lang.String INITIAL_PROPERTY_IS_RUNNIG_IN_XUIEDITOR
public static final java.lang.String INITIAL_PROPERTY_DATE_TIME_FORMAT
public static final java.lang.String INITIAL_PROPERTY_DATE_FORMAT
Constructor Detail |
---|
public GlobalDefinition(Type sourceType, Type xuiType)
xuiDefinition
- com.jaxfront.core.xui.XUIDefinitionxuiType
- com.jaxfront.core.type.TypeMethod Detail |
---|
public float getDividerLocation()
public void setDividerLocation(float value)
value
- the divider locationpublic java.awt.Color getErrorMarkingColor()
public void setErrorMarkingColor(java.awt.Color color)
color
- the error marking colorpublic float getLabelColumnWidth()
public void setLabelColumnWidth(float value)
value
- the column width for labelspublic float getComponentColumnWidth()
public int getComponentMaxLengthString()
public int getComponentMaxLengthStringMultiLine()
public void setComponentColumnWidth(float width)
public float getGlobalCaptionIndent()
public boolean isGlobalCaptionHideUnnamed()
public boolean isGlobalCaptionHideIfOnlyOneVisibleChild()
public void setGlobalCaptionIndent(float value)
value
- the global caption indentpublic java.lang.String getGlobalCaptionType()
public void setGlobalCaptionTypeToBorder()
public void setGlobalCaptionTypeToHeader()
public void setGlobalCaptionTypeToModernSeparator()
public void setGlobalCaptionTypeToClassicSeparator()
public boolean isGlobalCaptionTypeBorder()
public boolean isGlobalCaptionTypeHeader()
public boolean isGlobalCaptionTypeModernSeparator()
public boolean isGlobalCaptionTypeClassicSeparator()
public float getGlobalNestedIndent()
public java.lang.String getGlobalCodeSetURL()
public void setGlobalNestedIndent(float value)
value
- the global nested indentpublic float getGlobalLabelIndent()
public void setGlobalLabelIndent(float value)
value
- the global label indentpublic float getGlobalComponentIndent()
public void setGlobalComponentIndent(float value)
value
- the global component indentpublic java.lang.String getGlobalApplyCaptionIndentOn()
public void setGlobalApplyCaptionIndentOnLabel()
public void setGlobalApplyCaptionIndentOnComponent()
public void setGlobalApplyCaptionIndentOnBoth()
public boolean isGlobalApplyCaptionIndentOnLabel()
public boolean isGlobalApplyCaptionIndentOnComponent()
public boolean isGlobalApplyCaptionIndentOnBoth()
public int getHorizontalScrollBarPolicy()
public void setHorizontalScrollBarPolicyToAsNeeded()
public void setHorizontalScrollBarPolicyToNever()
public void setHorizontalScrollBarPolicyToAlways()
public java.lang.String getCountry()
public java.util.Locale getCurrentLocale()
public java.text.DecimalFormat getDecimalFormat()
public java.lang.String getRequiredMandatoryMarker()
public void setRequiredMandatoryMarker(java.lang.String alterMarker)
public java.lang.String getDateFormatStringPattern(java.util.Locale loc)
public java.lang.String getDateTimeFormatStringPattern(java.util.Locale loc)
public java.lang.String getTimeFormatStringPattern(java.util.Locale loc)
public java.text.DateFormat getDateFormat()
public java.text.DateFormat getDateTimeFormat()
public java.text.DateFormat getTimeFormat()
public void setDateFormat(java.text.DateFormat df)
public void setDateTimeFormat(java.text.DateFormat dtf)
public void setTimeFormat(java.text.DateFormat tf)
public java.lang.String getLanguage()
public void resetInternationalization()
public void setLanguage(java.lang.String language)
language
- the current languagepublic Type getTreeSelection()
public void setTreeSelection(java.lang.String xpath)
xpath
- the xpath of the node to be selectedpublic java.awt.Color getSchemaRequiredFieldColor()
public void setSchemaRequiredFieldColor(java.awt.Color color)
color
- the color of the mandatory componentspublic java.awt.Color getApplicationFieldColor()
public void setApplicationFieldColor(java.awt.Color newColor)
newColor
- public java.awt.Color getOptionalFieldColor()
public void setOptionalFieldColor(java.awt.Color color)
color
- the color for all unrequired componentspublic java.awt.Color getHeaderTextColor()
public void setHeaderTextColor(java.awt.Color color)
color
- the global header text colorpublic java.awt.Color getHeaderStartColor()
public void setHeaderStartColor(java.awt.Color color)
color
- the start color for headerspublic java.awt.Color getHeaderEndColor()
public void setHeaderEndColor(java.awt.Color color)
color
- the end color for headerspublic java.awt.Dimension getScreenSize()
public void setScreenSize(java.awt.Dimension size)
size
- the screenSizepublic java.util.List getTreeRoot()
public int getInitialTreeExpandDepth()
public void setTreeRoot(java.lang.String xpath)
xpath
- the xpath of the root nodepublic int getVerticalScrollBarPolicy()
public void setVerticalScrollBarPolicyToAsNeeded()
public void setVerticalScrollBarPolicyToNever()
public void setVerticalScrollBarPolicyToAlways()
public boolean isAllowingSavingWithErrors()
public boolean isAllowingCopyPaste()
public void setAllowingSavingWithErrors(boolean allowSaving)
allowSaving
- true if the document can be saved with errors, false otherwisepublic void setAllowCopyPaste(boolean allow)
public boolean isEditable()
public void setEditable(boolean editable)
editable
- true if the document can be edited, false otherwisepublic boolean isSingleChoiceAndSerialize()
public void setSingleChoiceAndSerialize(boolean singleChoiceAndSerialize)
singleChoiceAndSerialize
- true if optional choices loose their optionality if a
selection has been madepublic boolean isUsingChronErrorSequence()
public void setIsUsingChronErrorSequence(boolean chronErrorSequence)
chronErrorSequence
- true if the errors should be ordered chronologicalpublic boolean isShowAttributes()
public void setShowAttributes(boolean show)
show
- true if attributes should be visiblepublic boolean isShowHelpPanel()
public void setShowHelpPanel(boolean show)
show
- true if the help panel should be visiblepublic java.lang.String getGlobalTreeListEnding()
public void setGlobalTreeListEnding(java.lang.String ending)
ending
- the global tree entry label endingpublic boolean isDefaultTreeEntryForHeaders()
public void setDefaultTreeEntryForHeaders(boolean showTreeEntry)
showTreeEntry
- true if childs with a header caption get a tree entrypublic boolean showAndSerializeFixedValues()
public void setShowAndSerializeFixedValues(boolean showAndSerialize)
showAndSerialize
- true if the fixed values of the schema should be visible and
serializablepublic boolean isErrorSound()
public boolean isUserModfiedSerialization()
public boolean isUserModfiedSerializationCollapsed()
public boolean hasUserModfiedSerialization()
public boolean isUserModfiedTabSerialization()
public void setErrorSound(boolean useSound)
public boolean isSerializingDefaults()
public boolean isSerializingEmptyContent()
public void setSerializingEmptyContent(boolean serialize)
public boolean isValidatingEmptyMandatoryContent()
public boolean isSerializingSimpleDefaultNullValue()
public boolean isUsingAnnotationHelp()
public boolean isShowingOnlyMandatoryElements()
public boolean isUsingAnnotationHelpInTooltip()
public boolean isAutoCreateMinOccurListItems()
public boolean isAutoCreateMaxOccurListItems()
public void setSerializingDefaults(boolean serialize)
serialize
- true if the schema default values should be serializedpublic java.lang.Boolean isSerializingAttributes()
public void setSerializingAttributes(boolean serialize)
serialize
- true if attributes should be serializedpublic boolean isShowingTreeListContainer()
public void setShowingTreeListContainer(boolean show)
show
- true if the tree label should be displayed with a list endingpublic boolean isShowingTree()
public boolean isShowingEditorPanel()
public void setShowingTree(boolean show)
show
- true if the tree should be visible or notpublic boolean isShowingOptionalBorderControl()
public void setShowingOptionalBorderControl(boolean show)
show
- true if the border control should be displayed for optional
borderspublic boolean isUsingBackwardButton()
public void setIsUsingBackwardButton(boolean use)
use
- true if the backwardButton is used, false otherwisepublic void setIsShowingOnlyMandatoryElements(boolean showOnly)
public boolean isUsingButtonBar()
public void setIsUsingButtonBar(boolean use)
use
- true if the button bar is used, false otherwisepublic boolean isUsingForwardButton()
public void setIsUsingForwardButton(boolean use)
use
- true if the forwardButton is used, false otherwisepublic boolean isUsingPlugins()
public void setIsUsingPlugins(boolean use)
use
- true if plug-ins are used, false otherwisepublic boolean isUsingStatusBar()
public void setIsUsingStatusBar(boolean useStatusBar)
useStatusBar
- true if the status bar should be used, false otherwisepublic boolean isUsingNavigationKeys()
public void setIsUsingNavigationKeys(boolean use)
use
- true if the keys are used, false otherwisepublic boolean isOptionalBorderCollapsed()
public void setOptionalBorderCollapsed(boolean collapsed)
collapsed
- true if the optional borders are initially collapsed, false
otherwisepublic void release()
release
in class AbstractXUIElement
AbstractXUIElement.release()
public void releaseProperties()
public boolean systemExitOnClose()
public void setSystemExitOnClose(boolean exit)
exit
- true if the system will exit when the window is closed, false
otherwisepublic boolean useOptionalCheckBox()
public void setUseOptionalCheckBox(boolean use)
use
- true if optional check boxes are used, false otherwisepublic java.lang.String getGlobalChoiceType()
public void setGlobalChoiceTypeToComboBox()
public void setGlobalChoiceTypeToRadioButtons()
public java.lang.String getGlobalChoiceOrientation()
public void setGlobalChoiceOrientationHorizontal()
public void setGlobalChoiceOrientationVertical()
public void setDefaultValuePostFix(java.lang.String postFix)
postFix
- public void setDefaultValuePreFix(java.lang.String preFix)
preFix
- public java.lang.String getDefaultValuePostFix()
public java.lang.String getDefaultValuePreFix()
public java.lang.String getGlobalEnumerationType()
public java.lang.String getGlobalEnumerationOrientation()
public boolean isGlobalChoiceTypeComboBox()
public boolean isGlobalEnumerationTypeComboBox()
public boolean isGlobalChoiceOrientationHorizontal()
public boolean isGlobalEnumerationOrientationHorizontal()
public int getTopSpaceHeader()
public void setTopSpaceHeader(int value)
value
- the global top space for headerspublic int getBottomSpaceHeader()
public void setBottomSpaceHeader(int bottomSpace)
bottomSpace
- the global bottom space for headerspublic int getTopSpaceBorder()
public void setTopSpaceBorder(int value)
value
- the global top space for borderspublic int getInnerBottomSpaceBorder()
public void setInnerBottomSpaceBorder(int value)
value
- the global bottom space for borderspublic int getOuterBottomSpaceBorder()
public void setOuterBottomSpaceBorder(int value)
value
- the global bottom space for borderspublic int getTopSpaceModernSeparator()
public void setTopSpaceModernSeparator(int value)
value
- the global top space for modern separatorspublic int getBottomSpaceModernSeparator()
public void setBottomSpaceModernSeparator(int bottomSpace)
bottomSpace
- the global bottom space for modern separatorspublic int getTopSpaceClassicSeparator()
public void setTopSpaceClassicSeparator(int value)
value
- the global top space for classic separatorspublic int getBottomSpaceClassicSeparator()
public void setBottomSpaceClassicSeparator(int bottomSpace)
bottomSpace
- the global bottom space for classic separatorspublic int getTopSpaceTabs()
public void setTopSpaceTabs(int value)
value
- the global top space for tabspublic int getBottomSpaceTabs()
public void setBottomSpaceTabs(int bottomSpace)
bottomSpace
- the global bottom space for tabspublic int getTopSpaceComponent()
public void setTopSpaceComponent(int value)
value
- the global top space for editor componentspublic int getBottomSpaceComponent()
public void setBottomSpaceComponent(int bottomSpace)
bottomSpace
- the global set bottom space for editor componentspublic boolean hasBorderTopSpace()
public boolean hasInnerBorderBottomSpace()
public boolean hasOuterBorderBottomSpace()
public boolean hasHeaderTopSpace()
public boolean hasHeaderBottomSpace()
public boolean hasModernSepTopSpace()
public boolean hasModernSepBottomSpace()
public boolean hasClassicSepTopSpace()
public boolean hasClassicSepBottomSpace()
public boolean hasTabsTopSpace()
public boolean hasTabsBottomSpace()
public boolean hasComponentTopSpace()
public boolean hasComponentBottomSpace()
public java.lang.String getBooleanVisualizerButtonSequence()
public boolean isUsingBooleanDefaultOption()
public int getLeafSize()
public void setBooleanVisualizerButtonSequence(java.lang.String buttonSequence)
buttonSequence
- the radio button sequence may be "no,yes" or "yes,no"public java.lang.String getBooleanVisualizerType()
public void setBooleanVisualizerType(java.lang.String type)
type
- radioButton, radioButtonUnselected, checkBoxpublic boolean isFirstRadioButtonYes()
public int getGlobalTopIndent()
public void setGlobalTopIndent(int value)
value
- the global top indentpublic int getGlobalBottomIndent()
public void setGlobalBottomIndent(int value)
value
- the global bottom indentpublic int getGlobalLeftIndent()
public void setGlobalLeftIndent(int value)
value
- the global left indentpublic int getGlobalRightIndent()
public void setGlobalRightIndent(int value)
value
- the global right indentpublic int getGlobalVisibleRowCount()
public void setGlobalVisibleRowCount(int value)
value
- the global visible row countpublic int getMinWorkspaceWidth()
public void setMinWorkspaceWidth(int value)
value
- the minimum workspace widthpublic void setDecimalFormat(java.text.DecimalFormat format)
public java.lang.Boolean getBooleanProperty(java.lang.String path)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |