|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.FocusTraversalPolicy com.jidesoft.swing.VisibilityFocusTraversalPolicy
public class VisibilityFocusTraversalPolicy
The focus traversal policy to screen out those components that are not actually painted in the target container.
Constructor Summary | |
---|---|
VisibilityFocusTraversalPolicy(FocusTraversalPolicy defaultPolicy)
The constructor. |
|
VisibilityFocusTraversalPolicy(FocusTraversalPolicy defaultPolicy,
Container container)
The constructor. |
Method Summary | |
---|---|
void |
addContainer(Container container)
Adds the container that needs to check the visibility of its child component. |
Component |
getComponentAfter(Container aContainer,
Component aComponent)
|
Component |
getComponentBefore(Container aContainer,
Component aComponent)
|
Container[] |
getContainers()
Gets all the containers that need to check the visibility of its child component. |
Component |
getDefaultComponent(Container aContainer)
|
FocusTraversalPolicy |
getDefaultPolicy()
Gets the default FocusTraversalPolicy |
Component |
getFirstComponent(Container aContainer)
|
Component |
getInitialComponent(Window window)
|
Component |
getLastComponent(Container aContainer)
|
void |
removeContainer(Container container)
Removes the container that needs to check the visibility of its child component. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VisibilityFocusTraversalPolicy(FocusTraversalPolicy defaultPolicy)
defaultPolicy
- the default FocusTraversalPolicypublic VisibilityFocusTraversalPolicy(FocusTraversalPolicy defaultPolicy, Container container)
defaultPolicy
- the default FocusTraversalPolicycontainer
- the container to check the visibility of its child componentsMethod Detail |
---|
public void addContainer(Container container)
container
- the containerpublic void removeContainer(Container container)
container
- the containerpublic Container[] getContainers()
public FocusTraversalPolicy getDefaultPolicy()
public Component getComponentAfter(Container aContainer, Component aComponent)
getComponentAfter
in class FocusTraversalPolicy
public Component getComponentBefore(Container aContainer, Component aComponent)
getComponentBefore
in class FocusTraversalPolicy
public Component getFirstComponent(Container aContainer)
getFirstComponent
in class FocusTraversalPolicy
public Component getLastComponent(Container aContainer)
getLastComponent
in class FocusTraversalPolicy
public Component getDefaultComponent(Container aContainer)
getDefaultComponent
in class FocusTraversalPolicy
public Component getInitialComponent(Window window)
getInitialComponent
in class FocusTraversalPolicy
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |