|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jaxfront.core.type.EditingType
public class EditingType
| Field Summary |
|---|
| Fields inherited from interface com.jaxfront.core.type.ListType |
|---|
VALIDATE_ADD, VALIDATE_DELETE, VALIDATE_NOCHANGE |
| Fields inherited from interface com.jaxfront.core.type.Type |
|---|
ComplexGroup, ComplexGroupList, CompositeType, DummyType, EmptyType, GroupType, ListType, NONE, SimpleGroup, SimpleGroupList, SimpleType, SimpleTypeList, VirtualType |
| Fields inherited from interface com.jaxfront.core.type.ISimpleType |
|---|
EMPTY_STRING, SIMPLE_CONTENT_TEXT |
| Constructor Summary | |
|---|---|
EditingType(Type wrappedType,
Type parent)
|
|
| Method Summary | |
|---|---|
void |
actAs(java.lang.String extendedType,
short dataType)
|
void |
actAsBoolean()
Defines that the primitive data type of this type is Boolean. |
void |
actAsColor()
Defines that the primitive data type of this type is Color. |
void |
actAsDate()
Defines that the primitive data type of this type is a date. |
void |
actAsDateTime()
Defines that the primitive data type of this type is a date. |
void |
actAsDouble()
Defines that the primitive data type of this type is Integer. |
void |
actAsInt()
Defines that the primitive data type of this type is int. |
void |
actAsInteger()
Defines that the primitive data type of this type is Integer. |
void |
actAsPassword()
Defines that the primitive data type of this type is a date. |
void |
actAsString()
Defines that the primitive data type of this type is String. |
void |
actAsVisualizer()
Defines that the primitive data type of this type is Visualizer. |
void |
add(int arg0,
java.lang.Object arg1)
|
boolean |
add(java.lang.Object arg0)
|
Type |
add(Type type)
Adds a new type to the list. |
boolean |
addAll(java.util.Collection arg0)
|
boolean |
addAll(int arg0,
java.util.Collection arg1)
|
Type |
addNewChild()
Adds a new child to the list. |
Type |
addNewChild(int index)
|
Type |
addNewChild(Type template)
Adds a new child to the list. |
Type |
addNewChild(Type templateType,
int targetIndex)
Copies the given templateType and adds it to the list at the given index position. |
void |
addNoTargetXUIDefinition(Type xuiType)
Adds an information to a XUI type if a list doesn't contain any types for which a XUI definition would exist. |
void |
addTreeNode(boolean shouldBeSerialized)
Adds this type to the tree. |
void |
autoCreateEntries()
Create the initial number of required min occur list items. |
void |
bind(Document DOM,
org.w3c.dom.Element element)
Binds the values on a W3C element to the underlying JAXFront type. |
void |
bind(Document DOM,
org.w3c.dom.Element element,
boolean bindOnlyAvailable)
Binds the values on a W3C element to the underlying JAXFront type. |
void |
bind(Document DOM,
org.w3c.dom.Element instanceElement,
boolean bindOnlyAvailable,
boolean removeChilds)
|
void |
bind(org.w3c.dom.Element element)
Binds the values on a W3C element to the underlying JAXFront type. |
void |
bind(java.lang.Object trigger,
Type type)
Binds the values of an JAXFront type to myself. |
void |
bind(Type type)
Binds the values of an JAXFront type to myself. |
void |
checkCardinality(int changes)
Checks if removing or adding a new list entry violates the cardinality. |
void |
checkDuplicateID(java.lang.String newValue)
|
void |
checkDuplicateKey(java.lang.String newValue)
|
java.util.List |
checkForDuplicateID()
|
void |
checkKeyExist()
|
void |
checkKeyExist(java.lang.String keyValue)
|
void |
clear()
|
java.lang.Object |
clone()
Clones this type. |
int |
compareValue(SimpleType with)
|
void |
completeRecursion()
Creates a recursion of a schema element and returns a type that holds the types created during the recursion. |
boolean |
contains(java.lang.Object o)
|
boolean |
containsAll(java.util.Collection arg0)
|
void |
copyAndPasteChild(java.lang.Integer typeToCopyIndex,
java.lang.Integer targetIndex)
|
void |
copyAndPasteChild(Type typeToCopy)
|
void |
copyAndPasteChild(Type typeToCopy,
java.lang.Integer targetIndex)
|
Type |
copyChild(java.lang.Integer index)
Copies the child with the given index and returns it. |
void |
createChoices()
Lazy creates all choice axis. |
Type |
createChoiceType(java.lang.String name)
Lazy creation of a choice type. |
Type |
deepClone(Document dom,
boolean cloneChoices,
boolean includingData)
Creates a deep clone of this type and all its referenced types. |
Type |
deepClone(Document dom,
boolean cloneChoices,
boolean includingData,
boolean includeEditingType,
SchemaNode schemaNode,
org.w3c.dom.Element element)
Creates a deep clone of this type and all its referenced types. |
Type |
deepClone(Document dom,
boolean cloneChoices,
boolean includingData,
SchemaNode schemaNode,
org.w3c.dom.Element element)
|
java.lang.Object |
delete(Type type)
Deletes a type from the list. |
void |
domChanged(DOMChangeEvent event)
|
ListType |
evaluateKeyHolderList()
|
KeyContainer |
evaluatePossibleKeyContainer()
|
Type |
evaluatePossibleKeyType()
|
java.lang.Object |
get(int index)
|
java.util.List |
getAllSimpleChildren()
|
java.util.List |
getAttributes()
Returns all its attributes. |
Type |
getChild(java.lang.String name)
Gets a child (recursive) type with a given name |
Type |
getChild(java.lang.String name,
java.lang.String nameSpace)
Gets a child (recursive) type with a given name |
java.util.Set |
getChoiceNames()
In case of a choice, this will returns the choice names. |
Type |
getChoosenType()
Gets the choosen type if this type is a choice element. |
java.lang.Object |
getClientProperty(java.lang.String key)
Gets a client property for this type. |
java.lang.String |
getCodeSetHelp()
|
java.lang.String |
getCodeSetParam()
|
java.util.List |
getComposites()
|
SimpleType |
getContentType()
Gets a type that has simple content. |
java.lang.String |
getDefaultNullValue()
|
java.lang.String |
getDefaultValue()
Gets the default value of this type according to the schema element. |
java.util.List |
getDerivedTypes()
Gets a list of all derived types if this type is an abstract type. |
Type |
getDirectChild(java.lang.String name)
Gets a direct child (next axis) type with a given name |
Type |
getDirectChild(java.lang.String name,
java.lang.String namespace)
Gets a direct child (next axis) type with a given name |
java.util.List |
getDirectChildren()
Gets a list of all child types. |
java.util.List |
getDirectChildren(java.lang.String name)
Gets a list of child types with a given name. |
int |
getDirectChildrenSize()
Gets the count of all direct childrens. |
java.lang.String |
getDirectChildValue(java.lang.String name)
Gets the value of a child type with a given name. |
java.lang.String |
getDisplayValue()
Returns this type as a String representation. |
Document |
getDOM()
Gets the current JAXFront document (DOM). |
Type |
getEditingType()
Gets the current editable type of the list. |
EmptyType |
getEmptyType()
Gets an empty type if this is a an optional choice. |
java.lang.String[] |
getEnumeration()
Returns the enumeration of a type as String[]. |
java.lang.String |
getFixedValue()
Gets the fixed value of this type according to the schema element. |
java.lang.String |
getFullCaption()
Returns the nls translated (if any) xpath of a type up to its upper most represented tree node parent. |
java.lang.String |
getFullCaption(int labelLength)
Returns the nls translated (if any) xpath of a type up to its upper most represented tree node parent. |
GlobalDefinition |
getGlobalDefinition()
|
short[] |
getId()
Gets a unique ID within the current JAXFront documennt (DOM) expressing axis position. |
KeyRefDefinition |
getKeyRefDefinition()
|
java.util.List |
getList()
Gets the list of types. |
java.lang.Object |
getMathValueTyped()
Return the effective type object for the formula expression math evaluator. |
double |
getMaxExclValue()
|
double |
getMaxInclValue()
|
long |
getMaxLength()
Return the maximum length of this type. |
int |
getMaxOccurs()
Returns the maximum number of allowed list entries. |
double |
getMinExclValue()
|
double |
getMinInclValue()
|
long |
getMinLength()
Return the minimum length of this type. |
int |
getMinOccurs()
Returns the minimum number of allowed list entries. |
Type |
getMixedContent()
Returns the mixed content leaf type or null if none. |
java.lang.String |
getName()
Returns the name witout namespace previx. |
java.lang.String |
getNamespace()
Gets the namespace name of the underlying W3C DOM. |
Type |
getNextSibling()
Returns the next sibling type of the current type. |
Type |
getParent()
Gets the parent type of the current type. |
Type |
getParent(java.lang.String parentName)
Gets the parent type with the given name. |
Type |
getParentEditingTypeForName(java.lang.String choiceName)
Walks back up to the last list type holding the whole structure of this composite type. |
ListType |
getParentList()
Gets the parent list type of the current type. |
java.lang.String |
getPlainValue()
Get's the value of this type without any modifications! |
java.lang.String |
getPrefixedXPathLocation()
Gets the prefixed xpath location of the current type. |
Type |
getPreviousSibling()
Returns the previous sibling type of the current type. |
int |
getPrimitiveDataType()
Gets the primitive data type (as defined in the XML Schema) of this type. |
java.beans.PropertyChangeSupport |
getPropertyChangeSupport()
Gets the PropertyChangeSupport helper instance for this type. |
java.lang.String |
getQName()
Gets the tag name including namespace prefix. |
java.lang.String |
getReferencedKeyName()
|
Type |
getReferencedKeyType()
|
java.lang.String[] |
getRelevantChoiceNames()
Returns an array of names of all direct choic options. |
java.util.List |
getRelevantChoiceTypes()
Gets a list of all relevant choice types already created and without attribute types. |
Type |
getRepresentedTableLayoutParent()
Returns the type (one of my parents) which defines a tableLayout which represents this type or null. |
Type |
getRepresentedTabParent(boolean checkCurrentType)
Gets the holding tree parent type that is represented as tab. |
Type |
getRepresentedTreeNodeHolder()
Gets the holding tree parent type in the navigation tree, where the view holder is self. |
Type |
getRepresentedTreeNodeParent()
Gets the holding tree parent type in the navigation tree. |
javax.swing.ImageIcon |
getRepresentedTreeNodeParentIcon()
Returns the uppermost icon that can be found of the tree node parents of the current type. |
java.lang.String |
getRepresentedTreeNodeParentIconName()
Returns the name of the uppermost icon that can be found of the tree node parents of the current type. |
SchemaNode |
getSchemaElement()
Gets the meta information schema element. |
SchemaType |
getSchemaType()
|
boolean |
getSerializableFlag()
|
java.lang.String |
getSerializationName()
|
java.lang.String |
getShortCaption()
Returns the nls translated (if any) xpath of a type up to its upper most represented tree node parent. |
SchemaSimpleType |
getSimpleSchemaType()
|
int[] |
getSortIndexes()
Returns the sort indexes or null. |
StyleDefinition |
getStyle()
|
Type |
getTemplate()
Returns true if this type has changed. |
int |
getTotalDigit()
|
java.lang.String |
getTreeHierarchyContext()
Returns the treeEntry hierarchy of the current type as coma separated String (context). |
short |
getTypeClassification()
Returns the type classification. |
java.lang.String |
getUserDefaultValue()
Gets the value of this type. |
java.lang.Object |
getUserObject()
Gets any user object set to this type. |
java.lang.String |
getValue()
Gets the value of this type. |
java.lang.String |
getVarName()
|
Type |
getViewContextType()
|
java.lang.String |
getVisualName()
Returns the visual name of this type. |
java.lang.String |
getW3CXPathLocation(boolean prefixed)
Gets the W3C xpath location of the current type.This method returns the xpath without internal created unnamed elements! |
Type |
getWrappedType()
|
java.lang.String |
getXPathLocation()
Gets the xpath location of the current type. |
XUIDefinition |
getXUIDefinition()
Gets the current XUI definition. |
XUIDefinition |
getXUIDefinition(boolean create)
Gets the current XUI definition saying if a xui definition should be initialized lazy if it does not exist. |
boolean |
hasAttributes()
Returns true if this composite holds any attributes. |
boolean |
hasChanged()
|
boolean |
hasChoosenType()
Returns true if this type has a Choosen type. |
boolean |
hasEmptyContent(boolean validationContext)
|
boolean |
hasEmptyContent(boolean checkSerializeDefaults,
boolean checkDefaultValue)
Returns if any of the composite types has empty content. |
boolean |
hasOnlySimpleTypes()
Returns true if all my children are simple types. |
boolean |
hasRecursionBeenBuilt()
Returns true if type is a recursion holder and recursive start element has been created yet. |
boolean |
hasRegularExpression()
Returns true if this type holds a regular expression. |
boolean |
hasRepresentableTreeChildren()
Returns true if this type has any child types represented in the navigation tree. |
boolean |
hasUIDefinition()
Returns true if the uiDefinition is alredy set. |
boolean |
hasUnChoosenChoiceParent()
Returns true if this type has an unchoosen choice parent, false otherwise |
boolean |
hasUndefinedChildren()
Returns true it this type holds a direct optional child. |
boolean |
hasValidationError()
Returns true if an validation error exists for this type. |
int |
indexOf(java.lang.Object o)
|
boolean |
isAbstract()
Returns true if this type is defined abstract in the schema element. |
boolean |
isAnonymous()
Returns true if this type has no tag element (unnamed holder). |
boolean |
isAnyType()
Returns true if the content of this type can be any type. |
boolean |
isAttribute()
Returns true if this type is defined as an attribute in the XML schema. |
boolean |
isBoolean()
Returns if the primitive data type of this type is Boolean. |
boolean |
isChoice()
Returns true if this type is acting as a choice. |
boolean |
isColor()
Returns if the primitive data type of this type is Color. |
boolean |
isComposite()
Returns true if this type consists of other types. |
boolean |
isDate()
Returns if the primitive data type of this type is Date. |
boolean |
isDateTime()
Returns if the primitive data type of this type is DateTime. |
boolean |
isDerived()
Returns true if this type is implementing an abstract type. |
boolean |
isDerivedFrom(Type type)
Returns true if this type is a child of a given type. |
boolean |
isDerivedFromEditingType()
Returns true if this type is derived from an editing type. |
boolean |
isDuration()
Returns if the primitive data type of this type is Duration. |
boolean |
isEditingType()
Returns true if my parent is a list and this type is a template for further addings. |
boolean |
isEmpty()
Returns true if this type is not represented in the target JAXFront DOM. |
boolean |
isFloatingNumber()
Return the effective type object for the formula expression math evaluator. |
boolean |
isGlobal()
Return true it this type is global. |
boolean |
isIncluded()
Returns true if this type was included from an included xui file. |
boolean |
isKey()
Returns true if this type is a key selector. |
boolean |
isKeyContext()
Returns true if this type is a key context used in KeyKeyRefManager. |
boolean |
isKeyRef()
Returns true if this type is a key ref selector. |
boolean |
isList()
Returns true if this type represents a list. |
boolean |
isListItemRemoveable(Type type)
|
boolean |
isLocked()
Returns true if this type is locked via document.lock(). |
boolean |
isMandatoryAxis()
|
boolean |
isNumber()
Returns if the primitive data type of this type is a number like Float, Double or Decimal. |
boolean |
isPassword()
|
boolean |
isRecursive()
Returns true if this type is starting a new recursion. |
boolean |
isReleased()
|
boolean |
isRenderable()
Returns true if the type is included into the rendering process. |
boolean |
isRepresentedAsHeader()
Returns true if this type has a header. |
boolean |
isRepresentedAsTab()
Returns true if this type is represented as tab. |
boolean |
isRepresentedAsTreeNode()
Returns true if this type is represented in the navigation tree. |
boolean |
isRequired()
Returns true if this type is defined mandatory in the xml schema. |
boolean |
isRoot()
Returns true if this type is the root of the JAXFront DOM. |
boolean |
isSerializable()
Returns true if this type should be serialized in the resulting W3C DOM. |
boolean |
isSerializable(boolean checkValue)
Returns true if this type should be serialized in the resulting W3C DOM. |
boolean |
isSerializable(boolean checkValue,
boolean serDefaults)
|
boolean |
isSimple()
Returns true if this is a leaf in the tree. |
boolean |
isSimpleContent()
Returns if this type has simple content. |
boolean |
isString()
Returns if the primitive data type of this type is String. |
boolean |
isTime()
Returns if the primitive data type of this type is Date. |
boolean |
isUserInstanciated()
|
boolean |
isUsingDefaultValue()
|
boolean |
isUsingDefaultValue(boolean checkXuiDefault)
Return true if type is using a default value. |
boolean |
isVirtual()
Returns true if this type is implementing an virtual type. |
boolean |
isVisualizer()
Returns if the primitive data type of this type is Visualizer. |
java.util.Iterator |
iterator()
|
int |
lastIndexOf(java.lang.Object o)
|
java.util.ListIterator |
listIterator()
|
java.util.ListIterator |
listIterator(int index)
|
void |
maintainXUIDefinitions(Type type)
Traverses down the editing type and maintains all the xui definitions set on the editing type axis to the passed type. |
void |
markAsDirtyXPath()
Marks an xpath as dirty. |
void |
move(int from,
int to)
Moves the type from position "from" to position "to", shifting the other elements |
void |
putClientProperty(java.lang.String key,
java.lang.Object object)
|
void |
release()
Release all allocated resources for this type. |
boolean |
remove()
Removes this type from the JAXFront DOM. |
java.lang.Object |
remove(int index)
|
boolean |
remove(java.lang.Object o)
|
void |
removeAll()
Removes all types from this type. |
java.util.List |
removeAll(boolean isTemporary,
boolean checkCardinality)
Removes all childs of the list. |
boolean |
removeAll(java.util.Collection arg0)
|
java.lang.Object |
removeChild(int index)
Removes the list item with the given index from the list. |
boolean |
removeChild(Type child)
Removes a child from the JAXFront DOM. |
void |
removeChoices()
Removes the selected choosen type. |
void |
removeClientProperty(java.lang.String key)
|
java.lang.Object |
removeLastChild(boolean temporary)
Removes the last list item from the list. |
void |
removeMessage()
Removes all validation error messages for this type. |
void |
removeNoTargetXUIDefinition(Type xuiType)
Removes an information of a XUI type if a list doesn't contain any types for which a XUI definition would exist. |
void |
removeTreeNode(boolean shouldBeSerialized)
Removes this type from the tree. |
boolean |
retainAll(java.util.Collection arg0)
|
java.lang.StringBuffer |
serialize()
Serializes the current subTree to a StringBuffer |
java.lang.StringBuffer |
serialize(boolean serializeEmptyContent)
Serializes the current subTree to a StringBuffer |
void |
serialize(java.lang.StringBuffer sb,
int indent,
boolean writeName,
boolean recursive,
boolean serializeEmptyContent)
Serializes the current subTree to a StringBuffer |
java.lang.Object |
set(int arg0,
java.lang.Object arg1)
|
void |
setApplicationRequired(boolean required)
Sets if an user input is required for this type or not (overwrites xml schema cardinality). |
void |
setBackground(java.awt.Color color)
|
void |
setChoosenType(Type choosenType)
Sets the choosen type if this type is a choice. |
void |
setChoosenType(Type choosenType,
boolean temporary)
Sets the choosen type if this type is a choice. |
void |
setCodeSetValues(java.lang.String url,
java.lang.String codeSetName,
java.lang.String[] values,
java.lang.String defaultSelection)
Sets the codeSet values for the current type. |
void |
setDirectChildValue(java.lang.String childName,
java.lang.String value)
Sets the value of a child type of this type. |
void |
setDirectChildValue(java.lang.String childName,
java.lang.String value,
boolean isTemporary)
|
void |
setDOM(Document DOM)
Sets a current JAXFront document (DOM). |
void |
setEditable(boolean editable)
Sets the component editable or not editable. |
void |
setEditingType(Type editingType)
Resets the editing type. |
void |
setEnabled(boolean enabled)
Sets the component enabled (active) or disabled (inactive). |
void |
setForeground(java.awt.Color color)
|
void |
setId(short[] id)
Sets a unique ID within the current JAXFront documennt (DOM) expressing axis position. |
void |
setIsAttribute(boolean isAttribute)
|
void |
setIsKeyContext(boolean isContext)
Set true if this type is a key context! |
void |
setLabelColor(java.awt.Color color)
|
void |
setLabelText(java.lang.String text)
|
void |
setList(java.util.List list)
Sets the list entries. |
void |
setParent(Type parent)
Gets the parent type of the current type. |
void |
setRenderable(boolean renderable)
Defines if the type should be included into the rendering process. |
void |
setSchemaElement(SchemaNode element)
Sets the meta information schema element. |
void |
setSerializable(boolean isDefined)
Sets if this type should be serialized in the resulting W3C DOM. |
void |
setSerializable(boolean isDefined,
boolean checkForEmptyContent)
Sets if this type should be serialized in the resulting W3C DOM which depends on the content of the type. |
void |
setSortIndexes(int[] sortIndexes)
Set the sort indexes. |
void |
setTemplate(Type template)
|
void |
setTreeIcon(java.lang.String gifName)
Set the tree icon for this type. |
void |
setUIDefinition(XUIDefinition uiDefinition)
Sets a XUI definition to this type. |
void |
setUserInstanciated(boolean userTriggered)
|
void |
setUserObject(java.lang.Object object)
Sets any user object to this type. |
void |
setValue(java.lang.Object eventSource,
java.lang.String newValue,
boolean isTemporary)
|
void |
setValue(java.lang.Object eventSource,
java.lang.String newValue,
boolean isTemporary,
boolean localeConversion)
|
void |
setValue(java.lang.Object eventSource,
java.lang.String newValue,
boolean isTemporary,
boolean localeConversion,
java.util.Stack callStack)
|
void |
setValue(java.lang.String newValue)
Sets a new value of this type. |
void |
setValue(java.lang.String newValue,
boolean isTemporary)
|
void |
setViewContextType(Type viewHolder)
|
void |
setVisible(boolean visible)
Sets the visualizer of this type visible or invisible at runtime. |
void |
setVisibleAndSerializable(boolean visible,
boolean isSerializable)
Sets the component visible or invisible and defines if the data will be serialized or not. |
void |
showLabel(boolean visible)
Sets the label visible or invisible. |
void |
showMessage(java.lang.String message,
java.lang.String classification,
boolean showDialog,
boolean needsUserAcceptance)
Dislplays a message for this type with the passed information. |
int |
size()
|
java.util.List |
subList(int fromIndex,
int toIndex)
|
void |
swap(int from,
int to)
Swaps the position of two given types in the list |
java.lang.Object[] |
toArray()
|
java.lang.Object[] |
toArray(java.lang.Object[] arg0)
|
java.lang.String |
translateToCodeSetValue()
Returns the codeset decription value if this type is using a codeset enumeration otherwise return the normal value. |
boolean |
unChoosenBranch()
|
void |
validate()
|
void |
validate(boolean domIsValidating)
|
boolean |
violateCardinality(int changes)
Checks if removing or adding a new list entry violates the cardinality. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
equals, hashCode |
| Methods inherited from interface com.jaxfront.core.type.ISimpleType |
|---|
toString |
| Constructor Detail |
|---|
public EditingType(Type wrappedType,
Type parent)
| Method Detail |
|---|
public void actAs(java.lang.String extendedType,
short dataType)
actAs in interface ISimpleTypepublic void actAsBoolean()
ISimpleType
actAsBoolean in interface ISimpleTypepublic void actAsColor()
ISimpleType
actAsColor in interface ISimpleTypepublic void actAsDate()
ISimpleType
actAsDate in interface ISimpleTypepublic void actAsDateTime()
ISimpleType
actAsDateTime in interface ISimpleTypepublic void actAsDouble()
ISimpleType
actAsDouble in interface ISimpleTypepublic void actAsInt()
ISimpleType
actAsInt in interface ISimpleTypepublic void actAsInteger()
ISimpleType
actAsInteger in interface ISimpleTypepublic void actAsPassword()
ISimpleType
actAsPassword in interface ISimpleTypepublic void actAsString()
ISimpleType
actAsString in interface ISimpleTypepublic void actAsVisualizer()
ISimpleType
actAsVisualizer in interface ISimpleType
public void add(int arg0,
java.lang.Object arg1)
add in interface java.util.Listpublic boolean add(java.lang.Object arg0)
add in interface java.util.Collectionadd in interface java.util.Listpublic Type add(Type type)
ListType
add in interface ListTypetype - a new type to add
public boolean addAll(java.util.Collection arg0)
addAll in interface java.util.CollectionaddAll in interface java.util.List
public boolean addAll(int arg0,
java.util.Collection arg1)
addAll in interface java.util.Listpublic Type addNewChild()
ListType
addNewChild in interface ListTypepublic Type addNewChild(int index)
addNewChild in interface ListTypepublic Type addNewChild(Type template)
ListType
addNewChild in interface ListTypetemplate - the child to be added to the list
public Type addNewChild(Type templateType,
int targetIndex)
ListType
addNewChild in interface ListTypetemplateType - the child to be cloned or null if nonetargetIndex - the index where to copy should be placed in the list
public void addNoTargetXUIDefinition(Type xuiType)
ListType
addNoTargetXUIDefinition in interface ListTypexuiType - the type for which a XUI definition exists but no subtypes were createdpublic void addTreeNode(boolean shouldBeSerialized)
Type
addTreeNode in interface TypeshouldBeSerialized - defines if this type should be serializedpublic void autoCreateEntries()
ListType
autoCreateEntries in interface ListType
public void bind(Document DOM,
org.w3c.dom.Element element)
Type
bind in interface ISimpleTypebind in interface TypeDOM - the current document to which this type belongselement - the element to bind
public void bind(Document DOM,
org.w3c.dom.Element element,
boolean bindOnlyAvailable)
Type
bind in interface ISimpleTypebind in interface TypeDOM - the current document to which this type belongselement - the element to bindbindOnlyAvailable - indicates if the not available elements will be removed from type tree
public void bind(Document DOM,
org.w3c.dom.Element instanceElement,
boolean bindOnlyAvailable,
boolean removeChilds)
bind in interface ListTypepublic void bind(org.w3c.dom.Element element)
Type
bind in interface Type
public void bind(java.lang.Object trigger,
Type type)
Type
bind in interface ISimpleTypebind in interface Typetrigger - trigger object e.g. Clipboard,Button used to identify user triggered actionstype - the type to bind topublic void bind(Type type)
Type
bind in interface Typetype - the type to bind to
public void checkCardinality(int changes)
throws ValidationException
ListType
checkCardinality in interface ListTypechanges - number of new list entries
ValidationException
public void checkDuplicateID(java.lang.String newValue)
throws ValidationException
checkDuplicateID in interface ISimpleTypeValidationException
public void checkDuplicateKey(java.lang.String newValue)
throws ValidationException
checkDuplicateKey in interface ISimpleTypeValidationException
public java.util.List checkForDuplicateID()
throws ValidationException
checkForDuplicateID in interface ISimpleTypeValidationException
public void checkKeyExist()
throws ValidationException
checkKeyExist in interface ISimpleTypeValidationException
public void checkKeyExist(java.lang.String keyValue)
throws ValidationException
checkKeyExist in interface ISimpleTypeValidationExceptionpublic void clear()
clear in interface java.util.Collectionclear in interface java.util.List
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
ISimpleType
clone in interface ISimpleTypeclone in class java.lang.Objectjava.lang.CloneNotSupportedException - if this type cannot be clonedpublic int compareValue(SimpleType with)
compareValue in interface ISimpleType
public void completeRecursion()
throws java.lang.CloneNotSupportedException
CompositeType
completeRecursion in interface CompositeTypejava.lang.CloneNotSupportedExceptionpublic boolean contains(java.lang.Object o)
contains in interface java.util.Collectioncontains in interface java.util.Listpublic boolean containsAll(java.util.Collection arg0)
containsAll in interface java.util.CollectioncontainsAll in interface java.util.List
public void copyAndPasteChild(java.lang.Integer typeToCopyIndex,
java.lang.Integer targetIndex)
copyAndPasteChild in interface ListTypepublic void copyAndPasteChild(Type typeToCopy)
copyAndPasteChild in interface ListType
public void copyAndPasteChild(Type typeToCopy,
java.lang.Integer targetIndex)
copyAndPasteChild in interface ListTypepublic Type copyChild(java.lang.Integer index)
ListType
copyChild in interface ListTypepublic void createChoices()
CompositeType
createChoices in interface CompositeTypepublic Type createChoiceType(java.lang.String name)
CompositeType
createChoiceType in interface CompositeTypename - of the choice type.
public Type deepClone(Document dom,
boolean cloneChoices,
boolean includingData)
throws java.lang.CloneNotSupportedException
Type
deepClone in interface ISimpleTypedeepClone in interface Typedom - the current dom to which this type belongsincludingData - indicates if all binded data should be copied as well (default is false)
java.lang.CloneNotSupportedException
public Type deepClone(Document dom,
boolean cloneChoices,
boolean includingData,
boolean includeEditingType,
SchemaNode schemaNode,
org.w3c.dom.Element element)
throws java.lang.CloneNotSupportedException
Type
deepClone in interface ISimpleTypedeepClone in interface Typedom - the current dom to which this type belongsincludingData - indicates if all binded data should be copied as well (default is false)
java.lang.CloneNotSupportedException
public Type deepClone(Document dom,
boolean cloneChoices,
boolean includingData,
SchemaNode schemaNode,
org.w3c.dom.Element element)
throws java.lang.CloneNotSupportedException
deepClone in interface ISimpleTypejava.lang.CloneNotSupportedException
public java.lang.Object delete(Type type)
throws ListModificationException
ListType
delete in interface ListTypetype - the type to delete
ListModificationExceptionpublic void domChanged(DOMChangeEvent event)
domChanged in interface ISimpleTypeDOMChangeListener.domChanged(com.jaxfront.core.dom.DOMChangeEvent)public ListType evaluateKeyHolderList()
evaluateKeyHolderList in interface ISimpleTypepublic KeyContainer evaluatePossibleKeyContainer()
evaluatePossibleKeyContainer in interface ISimpleTypepublic Type evaluatePossibleKeyType()
evaluatePossibleKeyType in interface ISimpleTypepublic java.lang.Object get(int index)
get in interface java.util.Listpublic java.util.List getAllSimpleChildren()
getAllSimpleChildren in interface SimpleGroupTypepublic java.util.List getAttributes()
CompositeType
getAttributes in interface CompositeTypepublic Type getChild(java.lang.String name)
Type
getChild in interface ISimpleTypegetChild in interface Typename - name of the child
Type.getChild(java.lang.String)
public Type getChild(java.lang.String name,
java.lang.String nameSpace)
Type
getChild in interface ISimpleTypegetChild in interface Typename - name of the child
Type.getChild(java.lang.String)public java.util.Set getChoiceNames()
CompositeType
getChoiceNames in interface CompositeTypepublic Type getChoosenType()
Type
getChoosenType in interface Typepublic java.lang.Object getClientProperty(java.lang.String key)
Type
getClientProperty in interface Typepublic java.lang.String getCodeSetHelp()
getCodeSetHelp in interface ISimpleTypepublic java.lang.String getCodeSetParam()
getCodeSetParam in interface ISimpleTypepublic java.util.List getComposites()
getComposites in interface CompositeTypepublic SimpleType getContentType()
CompositeType
getContentType in interface CompositeTypepublic java.lang.String getDefaultNullValue()
getDefaultNullValue in interface ISimpleTypepublic java.lang.String getDefaultValue()
ISimpleType
getDefaultValue in interface ISimpleTypepublic java.util.List getDerivedTypes()
Type
getDerivedTypes in interface Typepublic Type getDirectChild(java.lang.String name)
Type
getDirectChild in interface ISimpleTypegetDirectChild in interface Typename - name of the child
Type.getDirectChild(java.lang.String)
public Type getDirectChild(java.lang.String name,
java.lang.String namespace)
Type
getDirectChild in interface ISimpleTypegetDirectChild in interface Typename - name of the childnamespace - namespace of the child
Type.getDirectChild(java.lang.String,java.lang.String)public java.util.List getDirectChildren()
Type
getDirectChildren in interface ISimpleTypegetDirectChildren in interface Typepublic java.util.List getDirectChildren(java.lang.String name)
Type
getDirectChildren in interface ISimpleTypegetDirectChildren in interface Typename - the name of the child(s)
public int getDirectChildrenSize()
Type
getDirectChildrenSize in interface Typepublic java.lang.String getDirectChildValue(java.lang.String name)
Type
getDirectChildValue in interface Typename - the name of the child
public java.lang.String getDisplayValue()
Type
getDisplayValue in interface ISimpleTypegetDisplayValue in interface Typepublic Document getDOM()
Type
getDOM in interface Typepublic Type getEditingType()
ListType
getEditingType in interface ListTypepublic EmptyType getEmptyType()
CompositeType
getEmptyType in interface CompositeTypepublic java.lang.String[] getEnumeration()
ISimpleType
getEnumeration in interface ISimpleTypepublic java.lang.String getFixedValue()
ISimpleType
getFixedValue in interface ISimpleTypepublic java.lang.String getFullCaption()
Type
getFullCaption in interface TypeType.getFullCaption(int)public java.lang.String getFullCaption(int labelLength)
Type
getFullCaption in interface TypelabelLength - the length of each element description label that will be displayed
public GlobalDefinition getGlobalDefinition()
getGlobalDefinition in interface Typepublic short[] getId()
Type
getId in interface Typepublic KeyRefDefinition getKeyRefDefinition()
getKeyRefDefinition in interface ISimpleTypepublic java.util.List getList()
ListType
getList in interface ListTypepublic java.lang.Object getMathValueTyped()
ISimpleType
getMathValueTyped in interface ISimpleTypepublic double getMaxExclValue()
getMaxExclValue in interface ISimpleTypepublic double getMaxInclValue()
getMaxInclValue in interface ISimpleTypepublic long getMaxLength()
ISimpleType
getMaxLength in interface ISimpleTypepublic int getMaxOccurs()
ListType
getMaxOccurs in interface ListTypepublic double getMinExclValue()
getMinExclValue in interface ISimpleTypepublic double getMinInclValue()
getMinInclValue in interface ISimpleTypepublic long getMinLength()
ISimpleType
getMinLength in interface ISimpleTypepublic int getMinOccurs()
ListType
getMinOccurs in interface ListTypepublic Type getMixedContent()
Type
getMixedContent in interface Typepublic java.lang.String getName()
Type
getName in interface ISimpleTypegetName in interface Typepublic java.lang.String getNamespace()
Type
getNamespace in interface Typepublic Type getNextSibling()
Type
getNextSibling in interface Typepublic Type getParent()
Type
getParent in interface Typepublic Type getParent(java.lang.String parentName)
Type
getParent in interface TypeparentName - the name of the parent type
public Type getParentEditingTypeForName(java.lang.String choiceName)
CompositeType
getParentEditingTypeForName in interface CompositeTypepublic ListType getParentList()
Type
getParentList in interface Typepublic java.lang.String getPlainValue()
ISimpleType
getPlainValue in interface ISimpleTypepublic java.lang.String getPrefixedXPathLocation()
Type
getPrefixedXPathLocation in interface Typepublic Type getPreviousSibling()
Type
getPreviousSibling in interface Typepublic int getPrimitiveDataType()
ISimpleType
getPrimitiveDataType in interface ISimpleTypepublic java.beans.PropertyChangeSupport getPropertyChangeSupport()
Type
getPropertyChangeSupport in interface Typepublic java.lang.String getQName()
Type
getQName in interface Typepublic java.lang.String getReferencedKeyName()
getReferencedKeyName in interface ISimpleTypepublic Type getReferencedKeyType()
getReferencedKeyType in interface ISimpleTypepublic java.lang.String[] getRelevantChoiceNames()
CompositeType
getRelevantChoiceNames in interface CompositeTypepublic java.util.List getRelevantChoiceTypes()
CompositeType
getRelevantChoiceTypes in interface CompositeTypepublic Type getRepresentedTableLayoutParent()
Type
getRepresentedTableLayoutParent in interface Typepublic Type getRepresentedTabParent(boolean checkCurrentType)
Type
getRepresentedTabParent in interface Typepublic Type getRepresentedTreeNodeHolder()
Type
getRepresentedTreeNodeHolder in interface Typepublic Type getRepresentedTreeNodeParent()
Type
getRepresentedTreeNodeParent in interface Typepublic javax.swing.ImageIcon getRepresentedTreeNodeParentIcon()
Type
getRepresentedTreeNodeParentIcon in interface Typepublic java.lang.String getRepresentedTreeNodeParentIconName()
Type
getRepresentedTreeNodeParentIconName in interface Typepublic SchemaNode getSchemaElement()
Type
getSchemaElement in interface Typepublic SchemaType getSchemaType()
getSchemaType in interface Typepublic boolean getSerializableFlag()
getSerializableFlag in interface Typepublic java.lang.String getSerializationName()
getSerializationName in interface Typepublic java.lang.String getShortCaption()
Type
getShortCaption in interface Typepublic SchemaSimpleType getSimpleSchemaType()
getSimpleSchemaType in interface ISimpleTypepublic int[] getSortIndexes()
ListType
getSortIndexes in interface ListTypepublic StyleDefinition getStyle()
getStyle in interface Typepublic Type getTemplate()
Type
getTemplate in interface Typepublic int getTotalDigit()
getTotalDigit in interface ISimpleTypepublic java.lang.String getTreeHierarchyContext()
Type
getTreeHierarchyContext in interface Typepublic short getTypeClassification()
Type
getTypeClassification in interface Typepublic java.lang.String getUserDefaultValue()
ISimpleType
getUserDefaultValue in interface ISimpleTypepublic java.lang.Object getUserObject()
Type
getUserObject in interface Typepublic java.lang.String getValue()
ISimpleType
getValue in interface ISimpleTypepublic java.lang.String getVarName()
getVarName in interface Typepublic Type getViewContextType()
getViewContextType in interface Typepublic java.lang.String getVisualName()
Type
getVisualName in interface Typepublic java.lang.String getW3CXPathLocation(boolean prefixed)
Type
getW3CXPathLocation in interface Typeprefixed - true if the xpath should be generated with namespace prefixes.
public Type getWrappedType()
public java.lang.String getXPathLocation()
Type
getXPathLocation in interface Typepublic XUIDefinition getXUIDefinition()
Type
getXUIDefinition in interface Typepublic XUIDefinition getXUIDefinition(boolean create)
Type
getXUIDefinition in interface Typepublic boolean hasAttributes()
CompositeType
hasAttributes in interface CompositeTypepublic boolean hasChanged()
hasChanged in interface Typepublic boolean hasChoosenType()
Type
hasChoosenType in interface Typepublic boolean hasEmptyContent(boolean validationContext)
hasEmptyContent in interface ISimpleType
public boolean hasEmptyContent(boolean checkSerializeDefaults,
boolean checkDefaultValue)
CompositeType
hasEmptyContent in interface CompositeTypehasEmptyContent in interface ISimpleTypepublic boolean hasOnlySimpleTypes()
CompositeType
hasOnlySimpleTypes in interface CompositeTypepublic boolean hasRecursionBeenBuilt()
Type
hasRecursionBeenBuilt in interface Typepublic boolean hasRegularExpression()
ISimpleType
hasRegularExpression in interface ISimpleTypepublic boolean hasRepresentableTreeChildren()
Type
hasRepresentableTreeChildren in interface Typepublic boolean hasUIDefinition()
Type
hasUIDefinition in interface Typepublic boolean hasUnChoosenChoiceParent()
Type
hasUnChoosenChoiceParent in interface Typepublic boolean hasUndefinedChildren()
Type
hasUndefinedChildren in interface Typepublic boolean hasValidationError()
Type
hasValidationError in interface Typepublic int indexOf(java.lang.Object o)
indexOf in interface java.util.Listpublic boolean isAbstract()
Type
isAbstract in interface Typepublic boolean isAnonymous()
Type
isAnonymous in interface Typepublic boolean isAnyType()
ISimpleType
isAnyType in interface ISimpleTypepublic boolean isAttribute()
Type
isAttribute in interface Typepublic boolean isBoolean()
ISimpleType
isBoolean in interface ISimpleTypepublic boolean isChoice()
Type
isChoice in interface ISimpleTypeisChoice in interface Typepublic boolean isColor()
ISimpleType
isColor in interface ISimpleTypepublic boolean isComposite()
Type
isComposite in interface Typepublic boolean isDate()
ISimpleType
isDate in interface ISimpleTypepublic boolean isDateTime()
ISimpleType
isDateTime in interface ISimpleTypepublic boolean isDerived()
Type
isDerived in interface Typepublic boolean isDerivedFrom(Type type)
Type
isDerivedFrom in interface Typetype - parent type
public boolean isDerivedFromEditingType()
Type
isDerivedFromEditingType in interface Typepublic boolean isDuration()
ISimpleType
isDuration in interface ISimpleTypepublic boolean isEditingType()
Type
isEditingType in interface Typepublic boolean isEmpty()
Type
isEmpty in interface TypeisEmpty in interface java.util.CollectionisEmpty in interface java.util.Listpublic boolean isFloatingNumber()
ISimpleType
isFloatingNumber in interface ISimpleTypepublic boolean isGlobal()
Type
isGlobal in interface Typepublic boolean isIncluded()
Type
isIncluded in interface Typepublic boolean isKey()
Type
isKey in interface ISimpleTypeisKey in interface TypeType.isKey()public boolean isKeyContext()
Type
isKeyContext in interface Typepublic boolean isKeyRef()
Type
isKeyRef in interface ISimpleTypeisKeyRef in interface TypeType.isKeyRef()()public boolean isList()
Type
isList in interface Type
public boolean isListItemRemoveable(Type type)
throws ListModificationException
isListItemRemoveable in interface ListTypeListModificationExceptionpublic boolean isLocked()
Type
isLocked in interface Typepublic boolean isMandatoryAxis()
isMandatoryAxis in interface Typepublic boolean isNumber()
ISimpleType
isNumber in interface ISimpleTypepublic boolean isPassword()
isPassword in interface ISimpleTypepublic boolean isRecursive()
Type
isRecursive in interface Typepublic boolean isReleased()
isReleased in interface Typepublic boolean isRenderable()
Type
isRenderable in interface TypeType.isRenderable()public boolean isRepresentedAsHeader()
Type
isRepresentedAsHeader in interface Typepublic boolean isRepresentedAsTab()
Type
isRepresentedAsTab in interface Typepublic boolean isRepresentedAsTreeNode()
Type
isRepresentedAsTreeNode in interface Typepublic boolean isRequired()
Type
isRequired in interface Typepublic boolean isRoot()
Type
isRoot in interface Typepublic boolean isSerializable()
Type
isSerializable in interface Typepublic boolean isSerializable(boolean checkValue)
Type
isSerializable in interface TypecheckValue - true if the serialize process should check if the type's value is null
public boolean isSerializable(boolean checkValue,
boolean serDefaults)
isSerializable in interface Typepublic boolean isSimple()
Type
isSimple in interface ISimpleTypeisSimple in interface Typepublic boolean isSimpleContent()
ISimpleType
isSimpleContent in interface ISimpleTypepublic boolean isString()
ISimpleType
isString in interface ISimpleTypepublic boolean isTime()
ISimpleType
isTime in interface ISimpleTypepublic boolean isUserInstanciated()
isUserInstanciated in interface Typepublic boolean isUsingDefaultValue()
isUsingDefaultValue in interface ISimpleTypepublic boolean isUsingDefaultValue(boolean checkXuiDefault)
ISimpleType
isUsingDefaultValue in interface ISimpleTypepublic boolean isVirtual()
Type
isVirtual in interface Typepublic boolean isVisualizer()
ISimpleType
isVisualizer in interface ISimpleTypepublic java.util.Iterator iterator()
iterator in interface java.lang.Iterableiterator in interface java.util.Collectioniterator in interface java.util.Listpublic int lastIndexOf(java.lang.Object o)
lastIndexOf in interface java.util.Listpublic java.util.ListIterator listIterator()
listIterator in interface java.util.Listpublic java.util.ListIterator listIterator(int index)
listIterator in interface java.util.Listpublic void maintainXUIDefinitions(Type type)
ListType
maintainXUIDefinitions in interface ListTypepublic void markAsDirtyXPath()
Type
markAsDirtyXPath in interface ISimpleTypemarkAsDirtyXPath in interface Type
public void move(int from,
int to)
ListType
move in interface ListTypefrom - the source positionto - the destination position
public void putClientProperty(java.lang.String key,
java.lang.Object object)
putClientProperty in interface Typepublic void release()
Type
release in interface ISimpleTyperelease in interface TypeType.release()
public boolean remove()
throws ListModificationException
Type
remove in interface ISimpleTyperemove in interface TypeListModificationExceptionpublic java.lang.Object remove(int index)
remove in interface java.util.Listpublic boolean remove(java.lang.Object o)
remove in interface java.util.Collectionremove in interface java.util.List
public void removeAll()
throws ListModificationException
Type
removeAll in interface TypeListModificationException
public java.util.List removeAll(boolean isTemporary,
boolean checkCardinality)
ListType
removeAll in interface ListTypeisTemporary - indicates if this deletion is temporarycheckCardinality - indicates if cardinality violation should be checkedpublic boolean removeAll(java.util.Collection arg0)
removeAll in interface java.util.CollectionremoveAll in interface java.util.List
public java.lang.Object removeChild(int index)
throws ListModificationException
ListType
removeChild in interface ListTypeindex - the index of the list item to should be removed from the list
ListModificationException
public boolean removeChild(Type child)
throws ListModificationException
Type
removeChild in interface Typechild - a child type of this type
ListModificationException
public void removeChoices()
throws ListModificationException
CompositeType
removeChoices in interface CompositeTypeListModificationExceptionpublic void removeClientProperty(java.lang.String key)
removeClientProperty in interface Type
public java.lang.Object removeLastChild(boolean temporary)
throws ListModificationException
ListType
removeLastChild in interface ListTypetemporary - indicates if the deletion is temporary
ListModificationExceptionpublic void removeMessage()
Type
removeMessage in interface Typepublic void removeNoTargetXUIDefinition(Type xuiType)
ListType
removeNoTargetXUIDefinition in interface ListTypexuiType - the type for which a XUI definition exists but no subtypes were createdpublic void removeTreeNode(boolean shouldBeSerialized)
Type
removeTreeNode in interface TypeshouldBeSerialized - defines if the content of this type will be serializedpublic boolean retainAll(java.util.Collection arg0)
retainAll in interface java.util.CollectionretainAll in interface java.util.Listpublic java.lang.StringBuffer serialize()
Type
serialize in interface Typepublic java.lang.StringBuffer serialize(boolean serializeEmptyContent)
Type
serialize in interface Type
public void serialize(java.lang.StringBuffer sb,
int indent,
boolean writeName,
boolean recursive,
boolean serializeEmptyContent)
Type
serialize in interface ISimpleTypeserialize in interface Typesb - a StringBuffer into which the subTree will be serializedindent - size of indentwriteName - true, if the name of the type should be serialized, false otherwiserecursive - true, if all containing types should be serialized
public java.lang.Object set(int arg0,
java.lang.Object arg1)
set in interface java.util.Listpublic void setApplicationRequired(boolean required)
Type
setApplicationRequired in interface Typerequired - true if an user input is required for this typepublic void setBackground(java.awt.Color color)
setBackground in interface TypeComponent.setBackground(java.awt.Color)public void setChoosenType(Type choosenType)
Type
setChoosenType in interface TypechoosenType - the type that is currently choosen
public void setChoosenType(Type choosenType,
boolean temporary)
Type
setChoosenType in interface TypechoosenType - the type that is choosentemporary - true, if the choosen type acts temporarily as choosen type, false otherwise
public void setCodeSetValues(java.lang.String url,
java.lang.String codeSetName,
java.lang.String[] values,
java.lang.String defaultSelection)
Type
setCodeSetValues in interface Typeurl - the url of the codeSet to be setcodeSetName - the name of the codeSet to be setvalues - the values of the codeSetdefaultSelection - the default selected code
public void setDirectChildValue(java.lang.String childName,
java.lang.String value)
Type
setDirectChildValue in interface TypechildName - the name of the childvalue - the value to set
public void setDirectChildValue(java.lang.String childName,
java.lang.String value,
boolean isTemporary)
setDirectChildValue in interface Typepublic void setDOM(Document DOM)
Type
setDOM in interface TypeDOM - a JAXFront document (DOM)public void setEditable(boolean editable)
Type
setEditable in interface Typepublic void setEditingType(Type editingType)
ListType
setEditingType in interface ListTypeeditingType - template type for a listpublic void setEnabled(boolean enabled)
Type
setEnabled in interface Typepublic void setForeground(java.awt.Color color)
setForeground in interface TypeComponent.setForeground(java.awt.Color)public void setId(short[] id)
Type
setId in interface Typeid - a unique IDpublic void setIsAttribute(boolean isAttribute)
setIsAttribute in interface ISimpleTypepublic void setIsKeyContext(boolean isContext)
Type
setIsKeyContext in interface TypeisContext - true if this type is a key contextpublic void setLabelColor(java.awt.Color color)
setLabelColor in interface TypeVisualizer.setLabelColor(java.awt.Color)public void setLabelText(java.lang.String text)
setLabelText in interface TypeVisualizer.setLabelText(java.lang.String)public void setList(java.util.List list)
ListType
setList in interface ListTypelist - list entriespublic void setParent(Type parent)
Type
setParent in interface Typeparent - the parent type of the current typepublic void setRenderable(boolean renderable)
Type
setRenderable in interface Typerenderable - false if the type should not be renderedpublic void setSchemaElement(SchemaNode element)
Type
setSchemaElement in interface Typeelement - the meta information schema elementpublic void setSerializable(boolean isDefined)
Type
setSerializable in interface TypeisDefined - true if this type should be serialized in the resulting W3C DOM, false otherwise
public void setSerializable(boolean isDefined,
boolean checkForEmptyContent)
Type
setSerializable in interface TypeisDefined - true if this type should be serialized in the resulting W3C DOM, false otherwisecheckForEmptyContent - true if the content of this type should be checked for empty contentpublic void setSortIndexes(int[] sortIndexes)
ListType
setSortIndexes in interface ListTypesortIndexes - new sort index arraypublic void setTemplate(Type template)
setTemplate in interface Typepublic void setTreeIcon(java.lang.String gifName)
Type
setTreeIcon in interface TypegifName - name of the gif for the tree iconpublic void setUIDefinition(XUIDefinition uiDefinition)
Type
setUIDefinition in interface TypeuiDefinition - a XUI definitionpublic void setUserInstanciated(boolean userTriggered)
setUserInstanciated in interface Typepublic void setUserObject(java.lang.Object object)
Type
setUserObject in interface Typeobject - any user object
public void setValue(java.lang.Object eventSource,
java.lang.String newValue,
boolean isTemporary)
setValue in interface ISimpleType
public void setValue(java.lang.Object eventSource,
java.lang.String newValue,
boolean isTemporary,
boolean localeConversion)
setValue in interface ISimpleType
public void setValue(java.lang.Object eventSource,
java.lang.String newValue,
boolean isTemporary,
boolean localeConversion,
java.util.Stack callStack)
setValue in interface ISimpleTypepublic void setValue(java.lang.String newValue)
ISimpleType
setValue in interface ISimpleTypenewValue - a new value
public void setValue(java.lang.String newValue,
boolean isTemporary)
setValue in interface ISimpleTypepublic void setViewContextType(Type viewHolder)
setViewContextType in interface Typepublic void setVisible(boolean visible)
Type
setVisible in interface Typevisible - true if the component should be visible
public void setVisibleAndSerializable(boolean visible,
boolean isSerializable)
Type
setVisibleAndSerializable in interface Typevisible - true if the component should be visibleisSerializable - true if the entered data should be serializedpublic void showLabel(boolean visible)
Type
showLabel in interface Typevisible - true if the label should be visible
public void showMessage(java.lang.String message,
java.lang.String classification,
boolean showDialog,
boolean needsUserAcceptance)
Type
showMessage in interface Typemessage - message textclassification - category (info, warning,...)showDialog - defines if message should be shown as dialogneedsUserAcceptance - defines if user needs to accept message or notpublic int size()
size in interface java.util.Collectionsize in interface java.util.List
public java.util.List subList(int fromIndex,
int toIndex)
subList in interface java.util.List
public void swap(int from,
int to)
ListType
swap in interface ListTypefrom - the source positionto - the destination positionpublic java.lang.Object[] toArray()
toArray in interface java.util.CollectiontoArray in interface java.util.Listpublic java.lang.Object[] toArray(java.lang.Object[] arg0)
toArray in interface java.util.CollectiontoArray in interface java.util.Listpublic java.lang.String translateToCodeSetValue()
ISimpleType
translateToCodeSetValue in interface ISimpleTypepublic boolean unChoosenBranch()
unChoosenBranch in interface Typepublic void validate()
validate in interface ISimpleTypepublic void validate(boolean domIsValidating)
validate in interface ISimpleTypepublic boolean violateCardinality(int changes)
ListType
violateCardinality in interface ListTypechanges - number of new list entries
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||