Home | Trees | Indices | Help |
|
---|
|
object --+ | util.IEventListener --+ | terminal.paintable.IPaintable --+ | object --+ | | | terminal.variable_owner.IVariableOwner --+ | object --+ | | | terminal.sizeable.ISizeable --+ | component.IComponent --+ | object --+ | | | event.method_event_source.IMethodEventSource --+ | abstract_component.AbstractComponent --+ | object --+ | | | data.property.IProperty --+ | object --+ | | | data.property.IViewer --+ | object --+ | | | data.property.IValueChangeListener --+ | object --+ | | | data.property.IValueChangeNotifier --+ | Label
Label component for showing non-editable short texts.
The label content can be set to the modes specified by the final members CONTENT_*
The contents of the label may contain simple formatting:
The b,i,u and li tags can contain all the tags in the list recursively.
Version: 1.1.2
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
CLIENT_WIDGET = None hash(x) |
|||
CONTENT_TEXT = 0
|
|||
CONTENT_PREFORMATTED = 1
|
|||
CONTENT_UIDL = 2
|
|||
CONTENT_XHTML = 3
|
|||
CONTENT_XML = 4
|
|||
CONTENT_RAW = 5
|
|||
CONTENT_DEFAULT = 0
|
|||
_CONTENT_MODE_NAME = ['text', 'pre', 'uidl', 'xhtml', 'xml', '
|
|||
_DATASOURCE_MUST_BE_SET = 'Datasource must be set'
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
Creates a new instance of Label with text-contents read from given datasource.
|
Set the component to read-only. Readonly is not used in label.
|
Is the component read-only ? Readonly is not used in label - this returns always false.
|
Paints the content of this component.
|
Gets the value of the label. Value of the label is the XML contents of the label.
|
Set the value of the label. Value of the label is the XML contents of the label.
|
Returns the value of the IProperty in human readable textual format.
The return value should be assignable to the
|
Gets the type of the IProperty.
See Also: IProperty.getType |
Gets the viewing data-source property.
See Also: IViewer.getPropertyDataSource |
Sets the property as data-source for viewing.
See Also: IViewer.setPropertyDataSource |
Gets the content mode of the Label. Possible content modes include:
|
Sets the content mode of the Label. Possible content modes include:
|
Adds the value change listener.
|
|
Removes the value change listener.
|
|
Listens the value change events from data source.
|
Compares the Label to other objects. Labels can be compared to other labels for sorting label contents. This is especially handy for sorting table columns. In RAW, PREFORMATTED and TEXT modes, the label contents are compared as is. In XML, UIDL and XHTML modes, only CDATA is compared and tags ignored. If the other object is not a Label, its toString() return value is used in comparison.
|
Strips the tags from the XML.
|
|
_CONTENT_MODE_NAME
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Jun 5 20:45:06 2015 | http://epydoc.sourceforge.net |