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.dck.*; 10 11 public class BlankInput extends JPanel implements DItem 12 { 13 public void setEnabled(boolean b) 14 { 15 } 16 17 public void save() 18 { 19 20 } 21 22 public void refresh() 23 { 24 } 25 26 public int getEstimatedWidth() 27 { 28 return 0; 29 } 30 31 public void setAlignWidth(int width) 32 { 33 } 34 35 public void setParent(DParent parent) 36 { 37 38 } 39 40 public JComponent getComponent() 41 { 42 return this; 43 } 44 45 public Dimension getPreferredSize() 46 { 47 return new Dimension(0, 5); 48 } 49 } 50 51 | Popular Tags |