001: //The contents of this file are subject to the Mozilla Public License Version 1.1
002: //(the "License"); you may not use this file except in compliance with the
003: //License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
004: //
005: //Software distributed under the License is distributed on an "AS IS" basis,
006: //WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
007: //for the specific language governing rights and
008: //limitations under the License.
009: //
010: //The Original Code is "The Columba Project"
011: //
012: //The Initial Developers of the Original Code are Frederik Dietz and Timo Stich.
013: //Portions created by Frederik Dietz and Timo Stich are Copyright (C) 2003.
014: //
015: //All Rights Reserved.
016: package org.columba.addressbook.gui.focus;
017:
018: import javax.swing.JComponent;
019:
020: /**
021: *
022: *
023: * Default Implementation of FocusOwner
024: *
025: * @author fdietz
026: */
027: public abstract class AbstractFocusOwner implements FocusOwner {
028: /**
029: * default constructor
030: *
031: */
032: public AbstractFocusOwner() {
033: }
034:
035: /* (non-Javadoc)
036: * @see org.columba.core.gui.frame.focus.FocusOwner#isCutActionEnabled()
037: */
038: public boolean isCutActionEnabled() {
039: return false;
040: }
041:
042: /* (non-Javadoc)
043: * @see org.columba.core.gui.frame.focus.FocusOwner#isCopyActionEnabled()
044: */
045: public boolean isCopyActionEnabled() {
046: return false;
047: }
048:
049: /* (non-Javadoc)
050: * @see org.columba.core.gui.frame.focus.FocusOwner#isPasteActionEnabled()
051: */
052: public boolean isPasteActionEnabled() {
053: return false;
054: }
055:
056: /* (non-Javadoc)
057: * @see org.columba.core.gui.frame.focus.FocusOwner#isDeleteActionEnabled()
058: */
059: public boolean isDeleteActionEnabled() {
060: return false;
061: }
062:
063: /* (non-Javadoc)
064: * @see org.columba.core.gui.frame.focus.FocusOwner#isSelectAllActionEnabled()
065: */
066: public boolean isSelectAllActionEnabled() {
067: return false;
068: }
069:
070: /* (non-Javadoc)
071: * @see org.columba.core.gui.frame.focus.FocusOwner#isUndoActionEnabled()
072: */
073: public boolean isUndoActionEnabled() {
074: return false;
075: }
076:
077: /* (non-Javadoc)
078: * @see org.columba.core.gui.frame.focus.FocusOwner#isRedoActionEnabled()
079: */
080: public boolean isRedoActionEnabled() {
081: return false;
082: }
083:
084: /* (non-Javadoc)
085: * @see org.columba.core.gui.frame.focus.FocusOwner#cut()
086: */
087: public void cut() {
088: }
089:
090: /* (non-Javadoc)
091: * @see org.columba.core.gui.frame.focus.FocusOwner#copy()
092: */
093: public void copy() {
094: }
095:
096: /* (non-Javadoc)
097: * @see org.columba.core.gui.frame.focus.FocusOwner#paste()
098: */
099: public void paste() {
100: }
101:
102: /* (non-Javadoc)
103: * @see org.columba.core.gui.frame.focus.FocusOwner#delete()
104: */
105: public void delete() {
106: }
107:
108: /* (non-Javadoc)
109: * @see org.columba.core.gui.frame.focus.FocusOwner#undo()
110: */
111: public void undo() {
112: }
113:
114: /* (non-Javadoc)
115: * @see org.columba.core.gui.frame.focus.FocusOwner#redo()
116: */
117: public void redo() {
118: }
119:
120: /* (non-Javadoc)
121: * @see org.columba.core.gui.frame.focus.FocusOwner#selectAll()
122: */
123: public void selectAll() {
124: }
125:
126: /* (non-Javadoc)
127: * @see org.columba.core.gui.frame.focus.FocusOwner#getComponent()
128: */
129: public abstract JComponent getComponent();
130: }
|