public BooleanProperty isMultiPartsProperty ( ) { if ( this . isMultipart == null ) { this . isMultipart = new ReadOnlyBooleanWrapper ( this , MathFXAttributeNames . IS_MULTIPARTS , false ) ; this . isMultipart . bind ( Bindings . createBooleanBinding ( ( ) -> { boolean foundOne = false ; for ( final PathElementType type : innerTypesProperty ( ) ) { if ( type == PathElementType . MOVE_TO ) { if ( foundOne ) { return true ; } foundOne = true ; } } return false ; } , innerTypesProperty ( ) ) ) ; } return this . isMultipart ; }
Replies the isMultiParts property .