Lines Matching defs:policy

122      * The focus traversal policy that will manage keyboard traversal of this
124 * value is null, this Container inherits its policy from its focus-cycle-
126 * policies, then the current KeyboardFocusManager's default policy is
127 * used. If the value is non-null, this policy will be inherited by all
128 * focus-cycle-root children that have no keyboard-traversal policy of
626 FocusTraversalPolicy policy = getFocusTraversalPolicy();
627 if (policy instanceof DefaultFocusTraversalPolicy) {
628 if (!((DefaultFocusTraversalPolicy)policy).accept(focusOwnerCandidate)) {
3337 * Sets the focus traversal policy that will manage keyboard traversal of
3339 * the argument is null, this Container inherits its policy from its focus-
3340 * cycle-root ancestor. If the argument is non-null, this policy will be
3342 * traversal policy of their own (as will, recursively, their focus-cycle-
3345 * If this Container is not a focus cycle root, the policy will be
3349 * @param policy the new focus traversal policy for this Container
3355 public void setFocusTraversalPolicy(FocusTraversalPolicy policy) {
3359 this.focusTraversalPolicy = policy;
3361 firePropertyChange("focusTraversalPolicy", oldPolicy, policy);
3365 * Returns the focus traversal policy that will manage keyboard traversal
3367 * cycle root. If no traversal policy has been explicitly set for this
3368 * Container, then this Container's focus-cycle-root ancestor's policy is
3371 * @return this Container's focus traversal policy, or null if this
3383 FocusTraversalPolicy policy = this.focusTraversalPolicy;
3384 if (policy != null) {
3385 return policy;
3398 * Returns whether the focus traversal policy has been explicitly set for
3400 * Container will inherit its focus traversal policy from an ancestor.
3402 * @return {@code true} if the focus traversal policy has been
3422 * <a href="doc-files/FocusSpec.html#FocusTraversalPolicyProviders">focus traversal policy provider</a>.
3466 * traversal policy. Container with this property as
3467 * {@code true} will be used to acquire focus traversal policy
3470 * provide focus traversal policy
3487 * policy. If this property is set to {@code true} then when
3489 * traversal policy and encounters this container before any other
3491 * its focus traversal policy will be used instead of focus cycle
3492 * root's policy.
3498 * policy, {@code false} otherwise
3591 * <li>this Container's focus traversal policy ("focusTraversalPolicy")
3628 * <li>this Container's focus traversal policy ("focusTraversalPolicy")
3631 * <li>this Container's focus-traversal-policy-provider state("focusTraversalPolicyProvider")</li>
3632 * <li>this Container's focus-traversal-policy-provider state("focusTraversalPolicyProvider")</li>
3764 Object policy = s.readObject();
3765 if (policy instanceof FocusTraversalPolicy) {
3766 focusTraversalPolicy = (FocusTraversalPolicy)policy;