UIBean

org.beangle.template.api.UIBean
class UIBean(context: ComponentContext) extends Component

Attributes

Graph
Supertypes
class Component
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Concrete methods

override def end(writer: Writer, body: String): Boolean

Callback for the end tag of this component. Should the body be evaluated again?

Callback for the end tag of this component. Should the body be evaluated again?

Attributes

Definition Classes
final def generateIdIfEmpty(): Unit

Inherited methods

final def addParameter(key: String, value: Object): Unit

Adds the given key and value to this component's own parameter.

Adds the given key and value to this component's own parameter.

If the provided key is null nothing happens. If the provided value is null any existing parameter with the given key name is removed.

Attributes

Inherited from:
Component
def evaluateParams(): Unit

Attributes

Inherited from:
Component
final def findAncestor[T <: Component](clazz: Class[T]): T

Finds the nearest ancestor of this component stack.

Finds the nearest ancestor of this component stack.

Attributes

clazz

the class to look for, or if assignable from.

Returns:

the component if found, null if not.

Inherited from:
Component
final def parameterString: String

将所有额外参数链接起来

将所有额外参数链接起来

Attributes

Returns:

空格开始 空格相隔的参数字符串

Inherited from:
Component
def start(writer: Writer): Boolean

Callback for the start tag of this component. Should the body be evaluated?

Callback for the start tag of this component. Should the body be evaluated?

Attributes

Inherited from:
Component
def usesBody(): Boolean

Overwrite to set if body shold be used.

Overwrite to set if body shold be used.

Attributes

Returns:

always false for this component.

Inherited from:
Component

Concrete fields

var cssClass: String
var id: String

Inherited fields

val parameters: LinkedHashMap[String, Object]

Attributes

Inherited from:
Component
var theme: String

Attributes

Inherited from:
Component