|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.ui.gwt.client.GWTFactory
public class GWTFactory
The GWTFactory creates GWT components by name and configures the relevant properties.
| Constructor Summary | |
|---|---|
GWTFactory()
|
|
| Method Summary | |
|---|---|
static void |
applyFormat(FormattedValue pValue,
Field<Object> pField,
int pAlignment)
Applies the value format to a field. |
static CellEditor |
createCellEditor(StyledCellEditor pEditor)
Creates the cell editor for a cell editor definition. |
Component |
createComponent(String pComponentName,
String pComponentId)
Creates a component for the given name. |
static Field<?> |
createField(StyledCellEditor pEditor)
Creates a field for a cell editor definition. |
LayoutData |
getLayoutData(LayoutContainer pParent,
String pConstraints)
Gets the correct LayoutData for the given parent, component and constraints. |
void |
setProperty(Component pComponent,
String pComponentName,
String pPropertyName,
Object pValue)
Sets the value of a property from a specific component identified by the property name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GWTFactory()
| Method Detail |
|---|
public Component createComponent(String pComponentName,
String pComponentId)
pComponentName - the component namepComponentId - the id of the component
IllegalArgumentException - if the component is unknown or not supported
public void setProperty(Component pComponent,
String pComponentName,
String pPropertyName,
Object pValue)
pComponent - the componentpComponentName - the component namepPropertyName - the property namepValue - the value
IllegalArgumentException - if the property is unknown or not supported
public LayoutData getLayoutData(LayoutContainer pParent,
String pConstraints)
pParent - the parent.pConstraints - the constraints.
public static void applyFormat(FormattedValue pValue,
Field<Object> pField,
int pAlignment)
pValue - the formatted valuepField - the fieldpAlignment - the field alignmentpublic static Field<?> createField(StyledCellEditor pEditor)
pEditor - the cell editor definition
public static CellEditor createCellEditor(StyledCellEditor pEditor)
pEditor - the cell editor definition
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||