1 package rero.dck.items; 2 3 import java.awt.*; 4 import java.awt.event.*; 5 6 import javax.swing.*; 7 import javax.swing.event.*; 8 9 import rero.config.*; 10 import rero.dck.*; 11 12 public class OtherInput implements DItem 13 { 14 protected JComponent other; 15 16 public OtherInput(JComponent _other) 17 { 18 other = _other; 19 } 20 21 public void setEnabled(boolean b) 22 { 23 other.setEnabled(b); 24 } 25 26 public void save() 27 { 28 } 29 30 public int getEstimatedWidth() 31 { 32 return 0; 33 } 34 35 public void setAlignWidth(int width) 36 { 37 } 38 39 public void setParent(DParent parent) 40 { 41 42 } 43 44 public JComponent getComponent() 45 { 46 return other; 47 } 48 49 public void refresh() 50 { 51 } 52 } 53 54 55 | Popular Tags |