public abstract class LayoutCodeGenerator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static Method |
ourAddMethod |
protected static Method |
ourAddNoConstraintMethod |
protected static Type |
ourContainerType |
protected static Method |
ourSetLayoutMethod |
Constructor and Description |
---|
LayoutCodeGenerator() |
Modifier and Type | Method and Description |
---|---|
abstract void |
generateComponentLayout(LwComponent lwComponent,
GeneratorAdapter generator,
int componentLocal,
int parentLocal) |
void |
generateContainerLayout(LwContainer lwContainer,
GeneratorAdapter generator,
int componentLocal) |
java.lang.String |
mapComponentClass(java.lang.String componentClassName) |
protected static void |
newDimensionOrNull(GeneratorAdapter generator,
java.awt.Dimension dimension) |
protected static final Method ourSetLayoutMethod
protected static final Type ourContainerType
protected static final Method ourAddMethod
protected static final Method ourAddNoConstraintMethod
public void generateContainerLayout(LwContainer lwContainer, GeneratorAdapter generator, int componentLocal)
public abstract void generateComponentLayout(LwComponent lwComponent, GeneratorAdapter generator, int componentLocal, int parentLocal)
protected static void newDimensionOrNull(GeneratorAdapter generator, java.awt.Dimension dimension)
public java.lang.String mapComponentClass(java.lang.String componentClassName)