|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectGenClass
ControlInterface
public abstract class ControlInterface
The ControlInterface class is an abstract base class that represents the interface (base or extension) associated with a ControlBean type.
Constructor Summary | |
---|---|
ControlInterface()
|
Method Summary | |
---|---|
abstract void |
check()
Perform any type-specific checking associated with a control-extension type. |
List<GeneratorOutput> |
getCheckOutput(Filer filer)
Returns the information necessary to generate a ControlBean from this ControlInterface |
ControlEventSet |
getEventSet(String name)
Returns the ControlEventSet with the specified name |
ArrayList<ControlEventSet> |
getEventSets()
Returns the list of ControlEventSets declared directly by this ControlInterface |
abstract ClassLoader |
getExternalClassLoader()
Returns a classloader that can be used to load external classes (e.g. user-written control checkers) |
FeatureInfo |
getFeatureInfo()
Returns the FeatureInfo attributes for this control interface |
String[] |
getGeneratedTypes()
Returns the list of fully qualified class names for types that are derived from this GenClass |
List<GeneratorOutput> |
getGenerateOutput(Filer filer)
Returns the information necessary to generate a packaging information from this ControlInterface. |
abstract HashMap<String,String> |
getManifestAttributes()
Returns the array of ManifestAttributes associated with the ControlInterface |
abstract ControlInterface |
getMostDerivedInterface()
Returns the most-derived interface in the inheritance chain that is annotated with @ControlInterface. |
ArrayList<ControlOperation> |
getOperations()
Returns the list of ControlOperations declared directly by this ControlInterface |
int |
getPropertyCount()
Returns the total number of properties for this control interface |
ArrayList<ControlPropertySet> |
getPropertySets()
Returns the list of ControlPropertySets declared directly by this ControlInterface |
ControlInterface |
getSuperClass()
Returns the super interface for this interface |
protected void |
init()
Initializes the ControlInterface class. |
protected abstract ArrayList<ControlEventSet> |
initEventSets()
Initializes the list of ControlEventSets declared directly by this ControlInterface |
abstract FeatureInfo |
initFeatureInfo()
Returns the FeatureInfo annotation instance for this control interface (or null if the annotation is not found). |
protected abstract ArrayList<ControlOperation> |
initOperations()
Initializes the list of ControlOperations declared directly by this ControlInterface |
protected abstract ArrayList<ControlPropertySet> |
initPropertySets()
Initializes the list of ControlPropertySets declared directly by this ControlInterface |
protected abstract ControlInterface |
initSuperClass()
Initializes the super ControlInterface that this ControlInterface extends (or sets it to null if a base interface) |
abstract boolean |
isExtension()
Returns 'true' if this interface is a ControlExtension (jcx) interface, false otherwise. |
boolean |
needsCustomPropertyDescriptors()
Returns true if the control BeanInfo needs a customized set of PropertyDescriptors code generated or false if standard introspection via reflection is ok. |
Methods inherited from class GenClass |
---|
getClassName, getPackage, getShortName, hasSuperClass |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ControlInterface()
Method Detail |
---|
protected void init()
protected abstract ControlInterface initSuperClass()
protected abstract ArrayList<ControlOperation> initOperations()
protected abstract ArrayList<ControlPropertySet> initPropertySets()
protected abstract ArrayList<ControlEventSet> initEventSets()
public abstract boolean isExtension()
public abstract ControlInterface getMostDerivedInterface()
public abstract ClassLoader getExternalClassLoader()
public abstract void check()
public ControlInterface getSuperClass()
getSuperClass
in class GenClass
public ArrayList<ControlOperation> getOperations()
public ArrayList<ControlPropertySet> getPropertySets()
public ArrayList<ControlEventSet> getEventSets()
public ControlEventSet getEventSet(String name)
public abstract HashMap<String,String> getManifestAttributes()
public abstract FeatureInfo initFeatureInfo()
public FeatureInfo getFeatureInfo()
public int getPropertyCount()
public boolean needsCustomPropertyDescriptors()
public String[] getGeneratedTypes()
getGeneratedTypes
in class GenClass
public List<GeneratorOutput> getCheckOutput(Filer filer) throws IOException
getCheckOutput
in class GenClass
IOException
public List<GeneratorOutput> getGenerateOutput(Filer filer) throws IOException
getGenerateOutput
in class GenClass
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |