Forge - UI API 2.0.0.Alpha3

org.jboss.forge.ui.metadata
Annotation Type WithAttributes


@Retention(value=RUNTIME)
@Target(value=FIELD)
public @interface WithAttributes

Allows configuration of InputComponent injected fields

Author:
George Gastaldi

Required Element Summary
 String label
          The label of this input
 
Optional Element Summary
 boolean enabled
          Is this input enabled?
 boolean required
          Is this input required?
 String requiredMessage
          The required message for this input
 

Element Detail

label

public abstract String label
The label of this input

required

public abstract boolean required
Is this input required?

Default:
false

requiredMessage

public abstract String requiredMessage
The required message for this input

Default:
""

enabled

public abstract boolean enabled
Is this input enabled?

Default:
true

Forge - UI API 2.0.0.Alpha3

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.