|
SWIXML 1.5 (#149) |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.swixml.converters.ConstraintsConverter
public class ConstraintsConverter
The ConstraintsConverter class defines a converter that returns Layout constants
based on layout type and input string.
LayoutManager| Field Summary | |
|---|---|
static Class |
TEMPLATE
converter's return type |
| Constructor Summary | |
|---|---|
ConstraintsConverter()
|
|
| Method Summary | |
|---|---|
static Object |
convert(Class type,
Attribute attr)
Converts Strings into Layout constants. |
Class |
convertsTo()
A Converters conversTo method informs about the Class type the converter
is returning when its convert method is called |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Class TEMPLATE
| Constructor Detail |
|---|
public ConstraintsConverter()
| Method Detail |
|---|
public static Object convert(Class type,
Attribute attr)
type - Class Layout typeattr - Attribute value needs to provide String which is used for the conversion
Object Layout constantpublic Class convertsTo()
Converters conversTo method informs about the Class type the converter
is returning when its convert method is called
Class - the Class the converter is returning when its convert method is called
|
SWIXML 1.5 (#149) |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||