|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.agilecoders.wicket.jquery.Key<T>
public class Key<T>
Default IKey implementation
| Constructor Summary | |
|---|---|
Key(String name)
Construct. |
|
Key(String name,
T defaultValue)
Construct. |
|
| Method Summary | |
|---|---|
T |
getDefaultValue()
|
boolean |
isDefaultValue(T value)
checks if given value is equal to default value |
String |
key()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Key(String name,
T defaultValue)
name - string representation of this keydefaultValue - The default valuepublic Key(String name)
name - string representation of this key| Method Detail |
|---|
public String key()
key in interface IKey<T>Mappublic boolean isDefaultValue(T value)
IKey
isDefaultValue in interface IKey<T>value - The value to check.
public T getDefaultValue()
getDefaultValue in interface IKey<T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||