|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrcf.core.concurrent.events.AbstractEventSource
rcf.core.framework.component.AbstractDynamicProperty<T>
T - @Revision(value="$Revision: 1.8 $",
date="$Date: 2006/12/16 05:17:22 $",
tag="$Name: $")
public abstract class AbstractDynamicProperty<T>TODO: Javadoc
TODO: Unit tests, Code review, Javadoc review, Seal/Finalize TODO: equals, hashCode, toString
| Nested Class Summary | |
|---|---|
static class |
AbstractDynamicProperty.BooleanUpdate
TODO: Javadoc |
static class |
AbstractDynamicProperty.DoubleUpdate
TODO: Javadoc |
static class |
AbstractDynamicProperty.EnumComboUpdate<T>
TODO: Javadoc |
static class |
AbstractDynamicProperty.EnumRadioUpdate<T>
TODO: Javadoc |
static class |
AbstractDynamicProperty.IntegerUpdate
TODO: Javadoc |
static class |
AbstractDynamicProperty.StringUpdate
TODO: Javadoc |
| Nested classes/interfaces inherited from interface rcf.core.framework.component.DynamicProperty |
|---|
DynamicProperty.Default<T> |
| Nested classes/interfaces inherited from interface rcf.core.framework.component.DynamicBound |
|---|
DynamicBound.GUIType |
| Nested classes/interfaces inherited from interface rcf.core.concurrent.primitives.Latch |
|---|
rcf.core.concurrent.primitives.Latch.LatchCondition<T> |
| Field Summary | |
|---|---|
protected DynamicComponent |
component
TODO: Javadoc |
protected static SoftReference<rcf.core.util.collection.ImmutableCollection<Class>> |
dynamicPropertyEventTypes
TODO: Javadoc |
protected Type |
type
TODO: Javadoc |
| Fields inherited from class rcf.core.concurrent.events.AbstractEventSource |
|---|
syndicate |
| Constructor Summary | |
|---|---|
AbstractDynamicProperty(DynamicComponent _component,
Type _type)
TODO: Javadoc |
|
| Method Summary | ||
|---|---|---|
DynamicProperty |
bind(Object o)
TODO: Javadoc Return a dynamic bound interface representing this reflected bindable bound to the specified object, assuming the object is an instance of the appropriate reflected component. |
|
DynamicComponent |
component()
TODO: Javadoc |
|
protected static rcf.core.util.collection.ImmutableCollection<Class> |
dynamicPropertyEventTypes()
TODO: Javadoc |
|
rcf.core.util.collection.ImmutableCollection<Class> |
events()
Return an immutable collection of all the classes of Events which
this source will generate and syndicate. |
|
rcf.core.concurrent.primitives.Latch.LatchCondition<T> |
expect(T t)
|
|
|
getAs(Class<X> _class)
TODO: Javadoc Get this property, including performing any necessary type checking or casts. |
|
JComponent |
gui(DynamicBound.GUIType type)
TODO: Javadoc |
|
Icon |
icon()
|
|
PropertyMode |
mode()
TODO: Javadoc Determine if this property is readable, writeable, neither or both. |
|
JPopupMenu |
popupMenu()
|
|
|
setAs(X a,
Class<X> _class)
TODO: Javadoc Set this property, including performing any necessary type checking or casts. |
|
Type |
type()
TODO: Javadoc The type of this property |
|
PropertyUse |
use()
TODO: Javadoc The use of this property. |
|
| Methods inherited from class rcf.core.concurrent.events.AbstractEventSource |
|---|
createdSyndicate, destroyedSyndicate, getSequenceNumber, incSequenceNumber, isSyndicated, syndicate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface rcf.core.framework.component.ReflectedProperty |
|---|
name |
| Methods inherited from interface rcf.core.util.groups.SingletonInterface |
|---|
set |
| Methods inherited from interface rcf.core.util.groups.ImmutableSingletonInterface |
|---|
get |
| Methods inherited from interface rcf.core.concurrent.events.EventSource |
|---|
getSequenceNumber, incSequenceNumber, isSyndicated, syndicate |
| Methods inherited from interface rcf.core.util.groups.ImmutableSingletonInterface |
|---|
get |
| Field Detail |
|---|
protected static SoftReference<rcf.core.util.collection.ImmutableCollection<Class>> dynamicPropertyEventTypes
protected final DynamicComponent component
protected final Type type
| Constructor Detail |
|---|
public AbstractDynamicProperty(DynamicComponent _component,
Type _type)
_type - | Method Detail |
|---|
protected static final rcf.core.util.collection.ImmutableCollection<Class> dynamicPropertyEventTypes()
public DynamicProperty bind(Object o)
ReflectedBindableReflectedComponent.isInstance(Object),
component().isInstance(o) must be true.
bind in interface ReflectedBindable<DynamicProperty>public DynamicComponent component()
DynamicBound
component in interface DynamicBoundcomponent in interface DynamicProperty<T>component in interface ReflectedBindable<DynamicProperty>public rcf.core.util.collection.ImmutableCollection<Class> events()
EventSourceEvents which
this source will generate and syndicate. This can be used to check if a
source will be will to generate specific events of interest to a potential
sink.
events in interface EventSourcepublic rcf.core.concurrent.primitives.Latch.LatchCondition<T> expect(T t)
expect in interface rcf.core.concurrent.primitives.Latch<T>public <X> X getAs(Class<X> _class)
DynamicProperty
getAs in interface DynamicProperty<T>ImmutableSingletonInterface.get(),
ReflectedProperty.type()public JComponent gui(DynamicBound.GUIType type)
DynamicBound
gui in interface DynamicBoundpublic Icon icon()
icon in interface rcf.core.util.accessor.GUIAccessiblepublic PropertyMode mode()
ReflectedPropertyStaticGetMethod or StaticSetMethod annotated method may override the value specified here.
It is an error to specify that a final field is writeable, and it is a warning to specify that e.g. a field
is not readable when it has a StaticGetMethod method or not writeable with a StaticSetMethod method.
mode in interface ReflectedPropertypublic JPopupMenu popupMenu()
popupMenu in interface rcf.core.util.accessor.GUIAccessible
public <X> X setAs(X a,
Class<X> _class)
DynamicProperty
setAs in interface DynamicProperty<T>SingletonInterface.set(Object),
ReflectedProperty.type()public Type type()
ReflectedProperty
type in interface ReflectedPropertypublic PropertyUse use()
ReflectedPropertyStaticGetMethod or StaticSetMethod annotations.
use in interface ReflectedProperty
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||