|
Oculus Layout Builder Plugin API Documentation November 25, 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An instance of this interface provides the meta-interface necessary for the builder to interact with a given component. The builder requires one unique instance of this interface per component instance (not one per component kind!).
Method Summary | |
boolean |
canInlineConstruction()
Return true iif it is OK to inline the construction of this component in the add() call. |
java.lang.String[] |
defaultInspectorFieldsToExclude()
Returns the set of fields that should be excluded when fields are automatically generated by reflection. |
boolean |
doIncludeDefaultInspectorFields()
If this returns true, the system will automatically generate fields in the inspector by reflecting on the component's class. |
java.lang.String |
generateCode(java.lang.String variableName,
boolean asInlinedInstance,
boolean asLocalVariable)
Generate code for this component. |
java.lang.String |
generateDeclaration(java.lang.String variableName)
This should generate a class declaration for this component. |
java.awt.Component |
getComponent()
Return the component corresponding to this metainfo instance. |
FieldInfo[] |
getFields()
Return information on the fields that should be presented in the inspector for this component type. |
Method Detail |
public FieldInfo[] getFields()
public boolean canInlineConstruction()
public java.lang.String generateDeclaration(java.lang.String variableName)
public java.lang.String generateCode(java.lang.String variableName, boolean asInlinedInstance, boolean asLocalVariable)
public java.awt.Component getComponent()
public boolean doIncludeDefaultInspectorFields()
public java.lang.String[] defaultInspectorFieldsToExclude()
|
Oculus Layout Builder Plugin API Documentation November 25, 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |