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, org.kuali.rice.core.api.util.KeyValue

public class UifKeyValueLocation extends UifKeyValue
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:
  • Constructor Details

    • UifKeyValueLocation

      public UifKeyValueLocation()
      Base constructor
    • UifKeyValueLocation

      public UifKeyValueLocation(String key, String value)
    • UifKeyValueLocation

      public UifKeyValueLocation(String key, String value, UrlInfo location)
      KeyValueLocation constructor
      Parameters:
      key - the key
      value - the value
      location - the url location object
  • Method Details

    • getLocation

      public UrlInfo getLocation()
      Get the url object representing the location
      Returns:
      the url location object
    • setLocation

      public void setLocation(UrlInfo location)
      Set the url location object
      Parameters:
      location -
    • setHref

      public void setHref(String href)
      Convenience setter for setting the href (full URL) of the location object
      Parameters:
      href - URL for location option