org.kuali.rice.krad.uif.util
Class UifKeyValueLocation

java.lang.Object
  extended by org.kuali.rice.core.api.util.AbstractKeyValue
      extended by org.kuali.rice.krad.uif.util.UifKeyValue
          extended by org.kuali.rice.krad.uif.util.UifKeyValueLocation
All Implemented Interfaces:
Serializable, 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:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.core.api.util.AbstractKeyValue
key, value
 
Constructor Summary
UifKeyValueLocation()
          Base constructor
UifKeyValueLocation(String key, String value)
           
UifKeyValueLocation(String key, String value, UrlInfo location)
          KeyValueLocation constructor
 
Method Summary
 UrlInfo getLocation()
          Get the url object representing the location
 void setHref(String href)
          Convenience setter for setting the href (full URL) of the location object
 void setLocation(UrlInfo location)
          Set the url location object
 
Methods inherited from class org.kuali.rice.krad.uif.util.UifKeyValue
getKey, getValue, setKey, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 Detail

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


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.