1 package org.columba.addressbook.gui.focus; 17 18 import javax.swing.JComponent ; 19 20 21 28 public abstract class AbstractFocusOwner implements FocusOwner { 29 33 public AbstractFocusOwner() { 34 } 35 36 39 public boolean isCutActionEnabled() { 40 return false; 41 } 42 43 46 public boolean isCopyActionEnabled() { 47 return false; 48 } 49 50 53 public boolean isPasteActionEnabled() { 54 return false; 55 } 56 57 60 public boolean isDeleteActionEnabled() { 61 return false; 62 } 63 64 67 public boolean isSelectAllActionEnabled() { 68 return false; 69 } 70 71 74 public boolean isUndoActionEnabled() { 75 return false; 76 } 77 78 81 public boolean isRedoActionEnabled() { 82 return false; 83 } 84 85 88 public void cut() { 89 } 90 91 94 public void copy() { 95 } 96 97 100 public void paste() { 101 } 102 103 106 public void delete() { 107 } 108 109 112 public void undo() { 113 } 114 115 118 public void redo() { 119 } 120 121 124 public void selectAll() { 125 } 126 127 130 public abstract JComponent getComponent(); 131 } 132 | Popular Tags |