|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.ComponentInterfaceSupport
public final class ComponentInterfaceSupport
The ComponentInterfaceSupport class provides a default implementation of the ComponentInterface interface. The methods in ComponentInterfaceSupport are called from ComponentInterfaceImpl.ji. ComponentInterfaceImpl.ji is included by the C preprocessor into .js files and used to create .java files for components which implement the ComponentInterface.
The Bean Extension Wizard uses template files generated from .js and .ji files to create java code which calls the methods in ComponentInterfaceSupport.
ComponentInterfaceSupport has a private constructor since it has only static methods and cannot be instantiated.
ViewInterface| Field Summary | |
|---|---|
static java.lang.String[][][] |
propertyMetadata
|
| Method Summary | |
|---|---|
static void |
addPropertyChangeListener(ComponentInterface componentInstance,
java.beans.PropertyChangeListener listener)
|
static void |
addVetoableChangeListener(ComponentInterface componentInstance,
java.beans.VetoableChangeListener listener)
|
static boolean |
anyPropertyChangeListeners(ComponentInterface componentInstance)
|
static boolean |
anyVetoableChangeListeners(ComponentInterface componentInstance)
Returns whether or not there are any VetoableChangeListeners on the specified component. |
static void |
clone(ComponentInterface sourceComponent,
ComponentInterface destComponent)
This is a helper method meant to be called by implementors of ComponentInterface. |
static void |
dumpComponent(ComponentInterface componentInstance)
|
static void |
firePropertyChange(ComponentInterface componentInstance,
java.beans.PropertyChangeEvent propertyChangeEvent)
|
static void |
firePropertyChange(ComponentInterface source,
java.lang.String propertyName,
boolean newValue)
|
static void |
firePropertyChange(ComponentInterface source,
java.lang.String propertyName,
byte oldValue,
byte newValue)
|
static void |
firePropertyChange(ComponentInterface source,
java.lang.String propertyName,
char oldValue,
char newValue)
|
static void |
firePropertyChange(ComponentInterface source,
java.lang.String propertyName,
double oldValue,
double newValue)
|
static void |
firePropertyChange(ComponentInterface source,
java.lang.String propertyName,
float oldValue,
float newValue)
|
static void |
firePropertyChange(ComponentInterface source,
java.lang.String propertyName,
int oldValue,
int newValue)
firePropertyChange is a helper method for component writers. |
static void |
firePropertyChange(ComponentInterface source,
java.lang.String propertyName,
long oldValue,
long newValue)
|
static void |
firePropertyChange(ComponentInterface componentInstance,
java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
|
static void |
firePropertyChange(ComponentInterface source,
java.lang.String propertyName,
short oldValue,
short newValue)
|
static void |
firePropertyChangeQuickly(ComponentInterface source,
java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
|
static void |
fireVetoableChange(ComponentInterface componentInstance,
java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
|
static java.lang.String |
getComponentDescription(ComponentInterface componentInstance)
|
static com.sas.beans.ExtendedBeanInfo |
getExtendedBeanInfo()
Returns the ExtendedBeanInfo for ComponentInterface. |
static void |
initialize(ComponentInterface componentInstance)
|
static void |
initializeComponent(ComponentInterface componentInstance)
|
static boolean |
isDesignTime(ComponentInterface componentInstance)
|
static void |
readObject(ComponentInterface componentInstance,
java.io.ObjectInputStream stream)
readObject is called to deserialize a componet. |
static void |
removePropertyChangeListener(ComponentInterface componentInstance,
java.beans.PropertyChangeListener listener)
|
static void |
removeVetoableChangeListener(ComponentInterface componentInstance,
java.beans.VetoableChangeListener listener)
|
static void |
setComponentDescription(ComponentInterface componentInstance,
java.lang.String description)
|
static void |
validateObject(ComponentInterface componentInstance)
|
| Field Detail |
|---|
public static final java.lang.String[][][] propertyMetadata
| Method Detail |
|---|
public static java.lang.String getComponentDescription(ComponentInterface componentInstance)
ComponentInterface.getComponentDescription()
public static void setComponentDescription(ComponentInterface componentInstance,
java.lang.String description)
ComponentInterface.setComponentDescription(java.lang.String)public static boolean isDesignTime(ComponentInterface componentInstance)
ComponentInterface.isDesignTime()public static void dumpComponent(ComponentInterface componentInstance)
ComponentInterface.dumpComponent()
public static void addPropertyChangeListener(ComponentInterface componentInstance,
java.beans.PropertyChangeListener listener)
ComponentInterface.addPropertyChangeListener(java.beans.PropertyChangeListener)
public static void removePropertyChangeListener(ComponentInterface componentInstance,
java.beans.PropertyChangeListener listener)
ComponentInterface.removePropertyChangeListener(java.beans.PropertyChangeListener)
public static void firePropertyChange(ComponentInterface componentInstance,
java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
ComponentInterface.firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object)public static boolean anyPropertyChangeListeners(ComponentInterface componentInstance)
ComponentInterface.anyPropertyChangeListeners()
public static void firePropertyChange(ComponentInterface componentInstance,
java.beans.PropertyChangeEvent propertyChangeEvent)
ComponentInterface.firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object)public static boolean anyVetoableChangeListeners(ComponentInterface componentInstance)
componentInstance - The component the check for VetoableChangeListeners.
public static void addVetoableChangeListener(ComponentInterface componentInstance,
java.beans.VetoableChangeListener listener)
ComponentInterface.addVetoableChangeListener(java.beans.VetoableChangeListener)
public static void removeVetoableChangeListener(ComponentInterface componentInstance,
java.beans.VetoableChangeListener listener)
ComponentInterface.removeVetoableChangeListener(java.beans.VetoableChangeListener)
public static void fireVetoableChange(ComponentInterface componentInstance,
java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
throws java.beans.PropertyVetoException
java.beans.PropertyVetoException - The listener vetoed the set of this constrained propertyComponentInterface.firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object)public static void initialize(ComponentInterface componentInstance)
ComponentInterface.initialize()public static void initializeComponent(ComponentInterface componentInstance)
ComponentInterface.initializeComponent()
public static void readObject(ComponentInterface componentInstance,
java.io.ObjectInputStream stream)
throws java.io.NotActiveException,
java.io.InvalidObjectException,
java.lang.ClassNotFoundException,
java.io.IOException
java.lang.ClassNotFoundException - will be thrown if any of the components subobject's class
can not be loaded.
java.io.NotActiveException
java.io.InvalidObjectException
java.io.IOExceptionpublic static void validateObject(ComponentInterface componentInstance)
ObjectInputValidation.validateObject()
public static void clone(ComponentInterface sourceComponent,
ComponentInterface destComponent)
throws java.lang.CloneNotSupportedException
This method is meant to be called by the implementation of clone for the ComponentInterface
after the destComponent has been created using sourceComponent.clone().
sourceComponent - The component to clone the ComponentInterface information from.destComponent - The clone of the sourceComponent.
java.lang.CloneNotSupportedException - is thrown if the model attached to the component
does not allow the component to attach to it.
public static void firePropertyChange(ComponentInterface source,
java.lang.String propertyName,
int oldValue,
int newValue)
source - The component whose property has changed.propertyName - The name of the property whose value changed.oldValue - The old value of the property.newValue - The new value of the property.firePropertyChange(com.sas.ComponentInterface, java.lang.String, java.lang.Object, java.lang.Object)
public static void firePropertyChange(ComponentInterface source,
java.lang.String propertyName,
float oldValue,
float newValue)
public static void firePropertyChange(ComponentInterface source,
java.lang.String propertyName,
double oldValue,
double newValue)
public static void firePropertyChange(ComponentInterface source,
java.lang.String propertyName,
char oldValue,
char newValue)
public static void firePropertyChange(ComponentInterface source,
java.lang.String propertyName,
byte oldValue,
byte newValue)
public static void firePropertyChange(ComponentInterface source,
java.lang.String propertyName,
short oldValue,
short newValue)
public static void firePropertyChange(ComponentInterface source,
java.lang.String propertyName,
long oldValue,
long newValue)
public static void firePropertyChange(ComponentInterface source,
java.lang.String propertyName,
boolean newValue)
public static void firePropertyChangeQuickly(ComponentInterface source,
java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
public static com.sas.beans.ExtendedBeanInfo getExtendedBeanInfo()
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||