public final class Property extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
addListener(Object source,
Object listener) |
static void |
addListener(Object source,
String propertyName,
Object listener) |
static PropertyDescriptor |
descriptor(Class<?> beanClass,
String name) |
static boolean |
equals(Object object1,
Object object2,
String propertyName) |
static void |
firePropertyChange(Object source,
PropertyChangeEvent event) |
static void |
firePropertyChange(Object source,
String propertyName,
int index,
Object oldValue,
Object newValue) |
static void |
firePropertyChange(Object source,
String propertyName,
Object oldValue,
Object newValue) |
static <T> T |
get(Object object,
String key) |
static Class<?> |
getClass(Class<?> beanClass,
String name) |
static Class<?> |
getClass(Object object,
String fieldName) |
static Double |
getDouble(ObjectWithProperties object,
String key) |
static double |
getDouble(ObjectWithProperties object,
String key,
double defaultValue) |
static Integer |
getInteger(ObjectWithProperties object,
String key) |
static int |
getInteger(ObjectWithProperties object,
String key,
int defaultValue) |
static PropertyChangeListener |
getPropertyChangeListener(Object listener) |
static <T> T |
getSimple(Object object,
String key) |
static String |
getString(ObjectWithProperties object,
String key) |
static String |
getString(ObjectWithProperties object,
String key,
String defaultValue) |
static boolean |
hasValue(CharSequence string) |
static boolean |
hasValue(Collection<?> collection) |
static boolean |
hasValue(Object value) |
static boolean |
hasValuesAll(Object... values) |
static boolean |
hasValuesAny(Object... values) |
static <V> V |
invoke(Object object,
String methodName,
Object... parameterArray) |
static boolean |
isChanged(Object oldValue,
Object newValue) |
static boolean |
isEmpty(Object value) |
static boolean |
isEqualTrim(String oldValue,
String newValue) |
static PropertyChangeSupport |
propertyChangeSupport(Object object) |
static Method |
readMethod(Class<?> beanClass,
String name) |
static Method |
readMethod(Object object,
String name) |
static void |
removeAllListeners(Component component) |
static void |
removeAllListeners(Object object) |
static void |
removeAllListeners(PropertyChangeSupport propertyChangeSupport) |
static void |
removeListener(Object source,
Object listener) |
static void |
removeListener(Object source,
String propertyName,
Object listener) |
static void |
set(Object object,
Map<String,? extends Object> properties) |
static void |
set(Object object,
String propertyName,
Object value) |
static String |
toString(Object object,
String methodName,
List<Object> parameters) |
static String |
toString(Object object,
String methodName,
Object... parameters) |
public static PropertyDescriptor descriptor(Class<?> beanClass, String name)
public static void firePropertyChange(Object source, PropertyChangeEvent event)
public static void firePropertyChange(Object source, String propertyName, int index, Object oldValue, Object newValue)
public static void firePropertyChange(Object source, String propertyName, Object oldValue, Object newValue)
public static Double getDouble(ObjectWithProperties object, String key)
public static double getDouble(ObjectWithProperties object, String key, double defaultValue)
public static Integer getInteger(ObjectWithProperties object, String key)
public static int getInteger(ObjectWithProperties object, String key, int defaultValue)
public static PropertyChangeListener getPropertyChangeListener(Object listener)
public static String getString(ObjectWithProperties object, String key)
public static String getString(ObjectWithProperties object, String key, String defaultValue)
public static boolean hasValue(CharSequence string)
public static boolean hasValue(Collection<?> collection)
public static boolean hasValue(Object value)
public static boolean hasValuesAll(Object... values)
public static boolean hasValuesAny(Object... values)
public static boolean isEmpty(Object value)
public static PropertyChangeSupport propertyChangeSupport(Object object)
public static void removeAllListeners(Component component)
public static void removeAllListeners(Object object)
public static void removeAllListeners(PropertyChangeSupport propertyChangeSupport)
public static void removeListener(Object source, String propertyName, Object listener)
Copyright © 2015 Revolution Systems Inc.. All rights reserved.