Klasse PropertyUtils
java.lang.Object
org.jdrupes.mdoclet.internal.doclets.toolkit.PropertyUtils
This class provides basic JavaFX property related utility methods.
Refer to the JavaFX conventions in the VisibleMemberTable comments.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibunggetBaseName
(ExecutableElement propertyMethod) Returns a base name for a property method.getGetName
(ExecutableElement propertyMethod) Returns a property getter’s name.getIsName
(ExecutableElement propertyMethod) Returns an “is” method’s name for a property method.getSetName
(ExecutableElement propertyMethod) Returns a property setter’s name.boolean
hasIsMethod
(ExecutableElement propertyMethod) Returns true if a property method could have an “is” method, meaning isAcme could exist for a property method.boolean
isPropertyMethod
(ExecutableElement propertyMethod) Returns true if the method is a property method.boolean
isValidSetterMethod
(ExecutableElement setterMethod) Returns true if the given setter method is a valid property setter method.
-
Methodendetails
-
getBaseName
Returns a base name for a property method.Supposing we have BooleanProperty acmeProperty(), then “acme” will be returned.
- Parameter:
propertyMethod
-- Gibt zurück:
- the base name of a property method.
-
getGetName
Returns a property getter’s name.Supposing we have a property method DoubleProperty acmeProperty(), then “getAcme” will be returned.
- Parameter:
propertyMethod
-- Gibt zurück:
- the property getter’s name.
-
getIsName
Returns an “is” method’s name for a property method.Supposing we have a property method BooleanProperty acmeProperty(), then “isAcme” will be returned.
- Parameter:
propertyMethod
-- Gibt zurück:
- the property is getter’s name.
-
hasIsMethod
Returns true if a property method could have an “is” method, meaning isAcme could exist for a property method.- Parameter:
propertyMethod
-- Gibt zurück:
- true if the property could have an “is” method, false otherwise.
-
getSetName
Returns a property setter’s name.Supposing we have a property method DoubleProperty acmeProperty(), then “setAcme” will be returned.
- Parameter:
propertyMethod
-- Gibt zurück:
- the property setter’s method name.
-
isValidSetterMethod
Returns true if the given setter method is a valid property setter method.- Parameter:
setterMethod
-- Gibt zurück:
- true if setter method, false otherwise.
-
isPropertyMethod
Returns true if the method is a property method.- Parameter:
propertyMethod
-- Gibt zurück:
- true if the method is a property method, false otherwise.
-