1 |
/* BasicSplitPaneUI.java -- |
/* BasicSplitPaneUI.java -- |
2 |
Copyright (C) 2003, 2004 Free Software Foundation, Inc. |
Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
71 |
/** |
/** |
72 |
* This Layout Manager controls the position and size of the components when |
* This Layout Manager controls the position and size of the components when |
73 |
* the JSplitPane's orientation is HORIZONTAL_SPLIT. |
* the JSplitPane's orientation is HORIZONTAL_SPLIT. |
74 |
|
* |
75 |
|
* @specnote Apparently this class was intended to be protected, |
76 |
|
* but was made public by a compiler bug and is now |
77 |
|
* public for compatibility. |
78 |
*/ |
*/ |
79 |
protected class BasicHorizontalLayoutManager implements LayoutManager2 |
public class BasicHorizontalLayoutManager implements LayoutManager2 |
80 |
{ |
{ |
81 |
// 3 components at a time. |
// 3 components at a time. |
82 |
// LEFT/TOP = 0 |
// LEFT/TOP = 0 |
489 |
/** |
/** |
490 |
* This class is the Layout Manager for the JSplitPane when the orientation |
* This class is the Layout Manager for the JSplitPane when the orientation |
491 |
* is VERTICAL_SPLIT. |
* is VERTICAL_SPLIT. |
492 |
|
* |
493 |
|
* @specnote Apparently this class was intended to be protected, |
494 |
|
* but was made public by a compiler bug and is now |
495 |
|
* public for compatibility. |
496 |
*/ |
*/ |
497 |
protected class BasicVerticalLayoutManager |
public class BasicVerticalLayoutManager |
498 |
extends BasicHorizontalLayoutManager |
extends BasicHorizontalLayoutManager |
499 |
{ |
{ |
500 |
/** |
/** |
661 |
|
|
662 |
/** |
/** |
663 |
* This class handles FocusEvents from the JComponent. |
* This class handles FocusEvents from the JComponent. |
664 |
|
* |
665 |
|
* @specnote Apparently this class was intended to be protected, |
666 |
|
* but was made public by a compiler bug and is now |
667 |
|
* public for compatibility. |
668 |
*/ |
*/ |
669 |
protected class FocusHandler extends FocusAdapter |
public class FocusHandler extends FocusAdapter |
670 |
{ |
{ |
671 |
/** |
/** |
672 |
* This method is called when the JSplitPane gains focus. |
* This method is called when the JSplitPane gains focus. |
692 |
/** |
/** |
693 |
* This is a deprecated class. It is supposed to be used for handling down |
* This is a deprecated class. It is supposed to be used for handling down |
694 |
* and right key presses. |
* and right key presses. |
695 |
|
* |
696 |
|
* @specnote Apparently this class was intended to be protected, |
697 |
|
* but was made public by a compiler bug and is now |
698 |
|
* public for compatibility. |
699 |
*/ |
*/ |
700 |
public class KeyboardDownRightHandler implements ActionListener |
public class KeyboardDownRightHandler implements ActionListener |
701 |
{ |
{ |
713 |
/** |
/** |
714 |
* This is a deprecated class. It is supposed to be used for handling end |
* This is a deprecated class. It is supposed to be used for handling end |
715 |
* key presses. |
* key presses. |
716 |
|
* |
717 |
|
* @specnote Apparently this class was intended to be protected, |
718 |
|
* but was made public by a compiler bug and is now |
719 |
|
* public for compatibility. |
720 |
*/ |
*/ |
721 |
public class KeyboardEndHandler implements ActionListener |
public class KeyboardEndHandler implements ActionListener |
722 |
{ |
{ |
734 |
/** |
/** |
735 |
* This is a deprecated class. It is supposed to be used for handling home |
* This is a deprecated class. It is supposed to be used for handling home |
736 |
* key presses. |
* key presses. |
737 |
|
* |
738 |
|
* @specnote Apparently this class was intended to be protected, |
739 |
|
* but was made public by a compiler bug and is now |
740 |
|
* public for compatibility. |
741 |
*/ |
*/ |
742 |
public class KeyboardHomeHandler implements ActionListener |
public class KeyboardHomeHandler implements ActionListener |
743 |
{ |
{ |
755 |
/** |
/** |
756 |
* This is a deprecated class. It is supposed to be used for handling resize |
* This is a deprecated class. It is supposed to be used for handling resize |
757 |
* toggles. |
* toggles. |
758 |
|
* |
759 |
|
* @specnote Apparently this class was intended to be protected, |
760 |
|
* but was made public by a compiler bug and is now |
761 |
|
* public for compatibility. |
762 |
*/ |
*/ |
763 |
public class KeyboardResizeToggleHandler implements ActionListener |
public class KeyboardResizeToggleHandler implements ActionListener |
764 |
{ |
{ |
776 |
/** |
/** |
777 |
* This is a deprecated class. It is supposed to be used for handler up and |
* This is a deprecated class. It is supposed to be used for handler up and |
778 |
* left key presses. |
* left key presses. |
779 |
|
* |
780 |
|
* @specnote Apparently this class was intended to be protected, |
781 |
|
* but was made public by a compiler bug and is now |
782 |
|
* public for compatibility. |
783 |
*/ |
*/ |
784 |
public class KeyboardUpLeftHandler implements ActionListener |
public class KeyboardUpLeftHandler implements ActionListener |
785 |
{ |
{ |
797 |
/** |
/** |
798 |
* This helper class handles PropertyChangeEvents from the JSplitPane. When |
* This helper class handles PropertyChangeEvents from the JSplitPane. When |
799 |
* a property changes, this will update the UI accordingly. |
* a property changes, this will update the UI accordingly. |
800 |
|
* |
801 |
|
* @specnote Apparently this class was intended to be protected, |
802 |
|
* but was made public by a compiler bug and is now |
803 |
|
* public for compatibility. |
804 |
*/ |
*/ |
805 |
public class PropertyHandler implements PropertyChangeListener |
public class PropertyHandler implements PropertyChangeListener |
806 |
{ |
{ |