The focusTraversableProperty() method and its corresponding getter and setter methods are final. This might be a good idea in most cases, but i am currently writing a custom control which integrates already existing components (button, textfield, ...). This means that the control itself is more or less a pane with child controls and some fancy stuff.
The problem is: The child controls should only be focus traversable if the control itself is traversable. But since there is no way to overwrite the property it will give only the following results:
true: The children and the control itself are traversable (bad, because the control [the pane] should not get the focus itself)
false: Nothing is traversable (works, because the control should always not be traversable)
So far i could not find any clean way to do this.
The problem is: The child controls should only be focus traversable if the control itself is traversable. But since there is no way to overwrite the property it will give only the following results:
true: The children and the control itself are traversable (bad, because the control [the pane] should not get the focus itself)
false: Nothing is traversable (works, because the control should always not be traversable)
So far i could not find any clean way to do this.