KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > columba > addressbook > gui > focus > AbstractFocusOwner


1 //The contents of this file are subject to the Mozilla Public License Version 1.1
2
//(the "License"); you may not use this file except in compliance with the
3
//License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
4
//
5
//Software distributed under the License is distributed on an "AS IS" basis,
6
//WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
7
//for the specific language governing rights and
8
//limitations under the License.
9
//
10
//The Original Code is "The Columba Project"
11
//
12
//The Initial Developers of the Original Code are Frederik Dietz and Timo Stich.
13
//Portions created by Frederik Dietz and Timo Stich are Copyright (C) 2003.
14
//
15
//All Rights Reserved.
16
package org.columba.addressbook.gui.focus;
17
18 import javax.swing.JComponent JavaDoc;
19
20
21 /**
22  *
23  *
24  * Default Implementation of FocusOwner
25  *
26  * @author fdietz
27  */

28 public abstract class AbstractFocusOwner implements FocusOwner {
29     /**
30  * default constructor
31  *
32  */

33     public AbstractFocusOwner() {
34     }
35
36     /* (non-Javadoc)
37  * @see org.columba.core.gui.frame.focus.FocusOwner#isCutActionEnabled()
38  */

39     public boolean isCutActionEnabled() {
40         return false;
41     }
42
43     /* (non-Javadoc)
44  * @see org.columba.core.gui.frame.focus.FocusOwner#isCopyActionEnabled()
45  */

46     public boolean isCopyActionEnabled() {
47         return false;
48     }
49
50     /* (non-Javadoc)
51  * @see org.columba.core.gui.frame.focus.FocusOwner#isPasteActionEnabled()
52  */

53     public boolean isPasteActionEnabled() {
54         return false;
55     }
56
57     /* (non-Javadoc)
58  * @see org.columba.core.gui.frame.focus.FocusOwner#isDeleteActionEnabled()
59  */

60     public boolean isDeleteActionEnabled() {
61         return false;
62     }
63
64     /* (non-Javadoc)
65  * @see org.columba.core.gui.frame.focus.FocusOwner#isSelectAllActionEnabled()
66  */

67     public boolean isSelectAllActionEnabled() {
68         return false;
69     }
70
71     /* (non-Javadoc)
72  * @see org.columba.core.gui.frame.focus.FocusOwner#isUndoActionEnabled()
73  */

74     public boolean isUndoActionEnabled() {
75         return false;
76     }
77
78     /* (non-Javadoc)
79  * @see org.columba.core.gui.frame.focus.FocusOwner#isRedoActionEnabled()
80  */

81     public boolean isRedoActionEnabled() {
82         return false;
83     }
84
85     /* (non-Javadoc)
86  * @see org.columba.core.gui.frame.focus.FocusOwner#cut()
87  */

88     public void cut() {
89     }
90
91     /* (non-Javadoc)
92  * @see org.columba.core.gui.frame.focus.FocusOwner#copy()
93  */

94     public void copy() {
95     }
96
97     /* (non-Javadoc)
98  * @see org.columba.core.gui.frame.focus.FocusOwner#paste()
99  */

100     public void paste() {
101     }
102
103     /* (non-Javadoc)
104  * @see org.columba.core.gui.frame.focus.FocusOwner#delete()
105  */

106     public void delete() {
107     }
108
109     /* (non-Javadoc)
110  * @see org.columba.core.gui.frame.focus.FocusOwner#undo()
111  */

112     public void undo() {
113     }
114
115     /* (non-Javadoc)
116  * @see org.columba.core.gui.frame.focus.FocusOwner#redo()
117  */

118     public void redo() {
119     }
120
121     /* (non-Javadoc)
122  * @see org.columba.core.gui.frame.focus.FocusOwner#selectAll()
123  */

124     public void selectAll() {
125     }
126
127     /* (non-Javadoc)
128  * @see org.columba.core.gui.frame.focus.FocusOwner#getComponent()
129  */

130     public abstract JComponent JavaDoc getComponent();
131 }
132
Popular Tags