Package org.kuali.rice.krad.uif.util
Class UifKeyValueLocation
java.lang.Object
org.kuali.rice.core.api.util.AbstractKeyValue
org.kuali.rice.krad.uif.util.UifKeyValue
org.kuali.rice.krad.uif.util.UifKeyValueLocation
- All Implemented Interfaces:
Serializable,KeyValue
KeyValue that has an additional location property that takes a Url object. When this is used with a dropdown or
an optionList control, those options become navigation controls.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Field Summary
Fields inherited from class org.kuali.rice.core.api.util.AbstractKeyValue
disabled, key, value -
Constructor Summary
ConstructorsConstructorDescriptionBase constructorUifKeyValueLocation(String key, String value) UifKeyValueLocation(String key, String value, UrlInfo location) KeyValueLocation constructor -
Method Summary
Modifier and TypeMethodDescriptionGet the url object representing the locationvoidConvenience setter for setting the href (full URL) of the location objectvoidsetLocation(UrlInfo location) Set the url location objectMethods inherited from class org.kuali.rice.krad.uif.util.UifKeyValue
getKey, getValue, setKey, setValueMethods inherited from class org.kuali.rice.core.api.util.AbstractKeyValue
isDisabled, setDisabled
-
Constructor Details
-
UifKeyValueLocation
public UifKeyValueLocation()Base constructor -
UifKeyValueLocation
-
UifKeyValueLocation
KeyValueLocation constructor- Parameters:
key- the keyvalue- the valuelocation- the url location object
-
-
Method Details
-
getLocation
Get the url object representing the location- Returns:
- the url location object
-
setLocation
Set the url location object- Parameters:
location-
-
setHref
Convenience setter for setting the href (full URL) of the location object- Parameters:
href- URL for location option
-