Class AutoLabelResolver.AutoLabelMarker
- java.lang.Object
-
- 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
-
-
Constructor Summary
Constructors Constructor Description AutoLabelMarker(FormComponent<?> component)
AutoLabelMarker(FormComponent<?> component, boolean auto)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
isAuto()
boolean
isEnabled()
boolean
isRequired()
boolean
isValid()
void
updateFrom(FormComponent<?> component, AjaxRequestTarget target)
Deprecated, for removal: This API element is subject to removal in a future version.void
updateFrom(FormComponent<?> component, IPartialPageRequestHandler target)
-
-
-
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
-
AUTO
public static final short AUTO
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AutoLabelMarker
public AutoLabelMarker(FormComponent<?> component)
-
AutoLabelMarker
public AutoLabelMarker(FormComponent<?> component, boolean auto)
-
-
Method Detail
-
updateFrom
@Deprecated(since="9.17.0, 10.0.0", forRemoval=true) public void updateFrom(FormComponent<?> component, AjaxRequestTarget target)
Deprecated, for removal: This API element is subject to removal in a future version.
-
updateFrom
public void updateFrom(FormComponent<?> component, IPartialPageRequestHandler target)
-
isAuto
public boolean isAuto()
-
isValid
public boolean isValid()
-
isEnabled
public boolean isEnabled()
-
isRequired
public boolean isRequired()
-
-