com.xpn.xwiki.objects.classes
Class BooleanClass
java.lang.Object
com.xpn.xwiki.objects.BaseElement<R>
com.xpn.xwiki.objects.BaseCollection<ClassPropertyReference>
com.xpn.xwiki.objects.classes.PropertyClass
com.xpn.xwiki.objects.classes.BooleanClass
- All Implemented Interfaces:
- PropertyClassInterface, ElementInterface, ObjectInterface, PropertyInterface, Serializable, Cloneable, Comparable<PropertyClass>
public class BooleanClass
- extends PropertyClass
- See Also:
- Serialized Form
Method Summary |
void |
displayCheckboxEdit(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context)
|
void |
displayEdit(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context)
|
void |
displayRadioEdit(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context)
|
void |
displaySelectEdit(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context)
|
void |
displayView(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context)
|
BaseProperty |
fromString(String value)
|
int |
getDefaultValue()
|
String |
getDisplayFormType()
|
String |
getDisplayType()
|
BaseProperty |
newProperty()
|
void |
setDefaultValue(int dvalue)
|
void |
setDisplayFormType(String type)
|
void |
setDisplayType(String type)
|
Methods inherited from class com.xpn.xwiki.objects.classes.PropertyClass |
clone, compareTo, createReference, displayCustom, displayEdit, displayEdit, displayHidden, displayHidden, displayHidden, displayView, displayView, flushCache, fromStringArray, fromValue, fromXML, getCachedDefaultCustomDisplayer, getClassName, getClassType, getCustomDisplay, getDefaultCustomDisplayer, getFieldFullName, getFullQueryPropertyName, getId, getName, getNumber, getObject, getPrettyName, getPrettyName, getTooltip, getTooltip, getTranslatedPrettyName, getValidationMessage, getValidationRegExp, getXClass, getxWikiClass, initLazyCollections, isCustomDisplayed, isDisabled, isUnmodifiable, isValidColumnTypes, newPropertyfromXML, setClassType, setCustomDisplay, setDisabled, setId, setName, setNumber, setObject, setPrettyName, setTooltip, setUnmodifiable, setValidationMessage, setValidationRegExp, setxWikiClass, toFormString, toString, toXML, toXML, validateProperty |
Methods inherited from class com.xpn.xwiki.objects.BaseCollection |
addField, addPropertyForRemoval, apply, equals, get, getCustomMappingMap, getDateValue, getDiff, getDoubleValue, getField, getFieldList, getFieldsToRemove, getFloatValue, getIntValue, getIntValue, getLargeStringValue, getListValue, getLongValue, getProperties, getPropertyList, getPropertyNames, getRelativeXClassReference, getSetValue, getSortedIterator, getStringValue, getXClassReference, merge, merge, put, removeField, safeget, safeput, setClassName, setDateValue, setDBStringListValue, setDocumentReference, setDoubleValue, setFields, setFieldsToRemove, setFloatValue, setIntValue, setLargeStringValue, setLongValue, setSetValue, setStringListValue, setStringValue, setXClassReference, toString, toXMLString |
BooleanClass
public BooleanClass(PropertyMetaClass wclass)
BooleanClass
public BooleanClass()
setDisplayType
public void setDisplayType(String type)
getDisplayType
public String getDisplayType()
getDisplayFormType
public String getDisplayFormType()
setDisplayFormType
public void setDisplayFormType(String type)
setDefaultValue
public void setDefaultValue(int dvalue)
getDefaultValue
public int getDefaultValue()
fromString
public BaseProperty fromString(String value)
- Specified by:
fromString
in interface PropertyClassInterface
- Overrides:
fromString
in class PropertyClass
newProperty
public BaseProperty newProperty()
- Specified by:
newProperty
in interface PropertyClassInterface
- Overrides:
newProperty
in class PropertyClass
displayView
public void displayView(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context)
- Specified by:
displayView
in interface PropertyClassInterface
- Overrides:
displayView
in class PropertyClass
displayEdit
public void displayEdit(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context)
- Specified by:
displayEdit
in interface PropertyClassInterface
- Overrides:
displayEdit
in class PropertyClass
displaySelectEdit
public void displaySelectEdit(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context)
displayRadioEdit
public void displayRadioEdit(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context)
displayCheckboxEdit
public void displayCheckboxEdit(StringBuffer buffer,
String name,
String prefix,
BaseCollection object,
XWikiContext context)
Copyright © 2004-2013 XWiki. All Rights Reserved.