Package org.nuiton.converter
Class KeyStrokeConverter
- java.lang.Object
-
- org.nuiton.converter.KeyStrokeConverter
-
- All Implemented Interfaces:
org.apache.commons.beanutils.Converter
,NuitonConverter<KeyStroke>
public class KeyStrokeConverter extends Object implements NuitonConverter<KeyStroke>
- Since:
- 1.0
- Author:
- Sylvain Letellier - letellier@codelutin.com
-
-
Constructor Summary
Constructors Constructor Description KeyStrokeConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
convert(Class<T> aClass, Object value)
Class<KeyStroke>
getType()
protected boolean
isEnabled(Class<?> aClass)
-
-
-
Method Detail
-
convert
public <T> T convert(Class<T> aClass, Object value)
- Specified by:
convert
in interfaceorg.apache.commons.beanutils.Converter
-
isEnabled
protected boolean isEnabled(Class<?> aClass)
-
getType
public Class<KeyStroke> getType()
- Specified by:
getType
in interfaceNuitonConverter<KeyStroke>
- Returns:
- the main type of the converter.
-
-