org.apache.wicket.markup.html.form
Class AutoLabelResolver.AutoLabelMarker

java.lang.Object
  extended by org.apache.wicket.markup.html.form.AutoLabelResolver.AutoLabelMarker
All Implemented Interfaces:
Serializable
Enclosing class:
AutoLabelResolver

public static final class AutoLabelResolver.AutoLabelMarker
extends Object
implements Serializable

Marker used to track whether or not a form component has an associated auto label by its mere presense as well as some attributes of the component across requests.

Author:
igor
See Also:
Serialized Form

Field Summary
static short ENABLED
           
static short REQUIRED
           
static short VALID
           
 
Constructor Summary
AutoLabelResolver.AutoLabelMarker(FormComponent<?> component)
           
 
Method Summary
 boolean isEnabled()
           
 boolean isRequired()
           
 boolean isValid()
           
 void updateFrom(FormComponent<?> component, AjaxRequestTarget target)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VALID

public static final short VALID
See Also:
Constant Field Values

REQUIRED

public static final short REQUIRED
See Also:
Constant Field Values

ENABLED

public static final short ENABLED
See Also:
Constant Field Values
Constructor Detail

AutoLabelResolver.AutoLabelMarker

public AutoLabelResolver.AutoLabelMarker(FormComponent<?> component)
Method Detail

updateFrom

public void updateFrom(FormComponent<?> component,
                       AjaxRequestTarget target)

isValid

public boolean isValid()

isEnabled

public boolean isEnabled()

isRequired

public boolean isRequired()


Copyright © 2006–2015 Apache Software Foundation. All rights reserved.