public class ControlHandlerConfig extends Object
Constructor and Description |
---|
ControlHandlerConfig(String name,
com.logabit.xlayout.handlers.IControlHandler handler) |
ControlHandlerConfig(String name,
String className) |
ControlHandlerConfig(String name,
String className,
String defaultStyleAsString) |
Modifier and Type | Method and Description |
---|---|
String |
getClassName() |
protected com.logabit.xlayout.handlers.IControlHandler |
getControlHandlerInstance(ClassLoader classLoader)
Creates an instance of the given control handler class name, stores it as
member and then returns it.
|
int |
getDefaultStyle()
Returns the default style as integer like SWT needs it.
|
String |
getDefaultStyleAsString()
Returns the string representation of the default style as given in the
configuration attribute.
|
String |
getName() |
public ControlHandlerConfig(String name, String className, String defaultStyleAsString)
public ControlHandlerConfig(String name, com.logabit.xlayout.handlers.IControlHandler handler)
public String getClassName()
protected com.logabit.xlayout.handlers.IControlHandler getControlHandlerInstance(ClassLoader classLoader)
public String getName()
public int getDefaultStyle()
public String getDefaultStyleAsString()