UIBean

class UIBean(context: ComponentContext) extends Component
class Component
class Object
trait Matchable
class Any

Value members

Concrete methods

override def end(writer: Writer, body: String): Boolean
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 <tt>null</tt> nothing happens. If the provided value is <tt>null</tt> any existing parameter with the given key name is removed.

Inherited from
Component
def evaluateParams(): Unit
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.

Value Params
clazz

the class to look for, or if assignable from.

Returns

the component if found, <tt>null</tt> if not.

Inherited from
Component
final def parameterString: String

将所有额外参数链接起来

将所有额外参数链接起来

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?

Inherited from
Component
def usesBody(): Boolean

Overwrite to set if body shold be used.

Overwrite to set if body shold be used.

Returns

always false for this component.

Inherited from
Component

Concrete fields

var cssClass: String
var id: String

Inherited fields

val parameters: LinkedHashMap[String, Object]
Inherited from
Component
var theme: String
Inherited from
Component