oracle.adfnmc.component.property
Class Property
java.lang.Object
oracle.adfnmc.component.property.Property
- All Implemented Interfaces:
- ValueChangeListener
- Direct Known Subclasses:
- BooleanProperty, DateProperty, IntegerProperty, LongProperty, ObjectProperty, StringProperty
public abstract class Property
- extends java.lang.Object
- implements ValueChangeListener
- Author:
- jmiers
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_elExpression
protected java.lang.String m_elExpression
m_valueExpression
protected ValueExpression m_valueExpression
m_propertyListener
protected PropertyChangeCallback m_propertyListener
m_valueListener
protected PropertyValueChangeCallback m_valueListener
m_setValueSource
protected java.lang.Object m_setValueSource
m_isSecret
protected boolean m_isSecret
Property
protected Property()
Property
protected Property(java.lang.String elExpression,
java.lang.Class expectedType)
Property
protected Property(java.lang.String elExpression,
java.lang.Class expectedType,
RefreshablePropertyObjectOwner owner)
bindExpression
protected void bindExpression()
expressionIsLiteral
protected abstract void expressionIsLiteral()
- Sub-classes of this abstract class must convert the el expression into a literal
m_valueExpression is not guaranteed to be non-null, so it must be checked before
being used. If m_valueExpression is null, the value must be extracted from the
string m_elExpression and coerced into the proper type from there.
getDefaultValue
protected abstract java.lang.Object getDefaultValue()
getValueAsObject
protected abstract java.lang.Object getValueAsObject()
getOldValueAsObject
protected abstract java.lang.Object getOldValueAsObject()
hasElExpression
protected boolean hasElExpression()
setPropertyChangeCallback
public void setPropertyChangeCallback(PropertyChangeCallback listener)
setPropertyValueChangeCallback
public void setPropertyValueChangeCallback(PropertyValueChangeCallback listener)
fireChangeEvent
protected void fireChangeEvent(java.lang.Object source)
refreshValue
public static void refreshValue(Property property)
refreshValue
public void refreshValue()
valueChangedImpl
protected abstract void valueChangedImpl(java.lang.Object source,
java.lang.Object value)
valueChanged
protected final void valueChanged(java.lang.Object source,
java.lang.Object value)
valueChanged
public void valueChanged(ValueExpression sourceExpression)
- Specified by:
valueChanged
in interface ValueChangeListener
- Parameters:
sourceExpression
- - the ValueExpression instance this listener was registered with
setValue
protected void setValue(java.lang.Object source,
java.lang.Object value)
- Generic method that handles setValue calls coming from derived classes
- Parameters:
source
- the source of this settervalue
- the new value to set to the property
reset
public static void reset(Property prop)
unregisterListener
public static void unregisterListener(Property prop)
reset
public static BooleanProperty reset(BooleanProperty prop)
reset
public static DateProperty reset(DateProperty prop)
reset
public static IntegerProperty reset(IntegerProperty prop)
reset
public static LongProperty reset(LongProperty prop)
reset
public static ObjectProperty reset(ObjectProperty prop)
reset
public static StringProperty reset(StringProperty prop)
setValueSecret
public void setValueSecret(boolean isSecret)
getValueForLogging
protected java.lang.Object getValueForLogging(java.lang.Object value)
logValueChanged
protected void logValueChanged(java.lang.Object source,
java.lang.Object value)
shouldLogValues
protected boolean shouldLogValues()
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.