package javax.microedition.lcdui;

public abstract class CustomItem extends Item
{
 protected static final int TRAVERSE_HORIZONTAL = 1;
 protected static final int TRAVERSE_VERTICAL = 2;
 protected static final int KEY_PRESS = 4;
 protected static final int KEY_RELEASE = 8;
 protected static final int KEY_REPEAT = 16;
 protected static final int POINTER_PRESS = 32;
 protected static final int POINTER_RELEASE = 64;
 protected static final int POINTER_DRAG = 128;
 protected static final int NONE = 0;

 protected CustomItem(String)
 {
 }
 
 public int getGameAction(int)
 {
  return 0;
 }
 
 protected final int getInteractionModes()
 {
  return 0;
 }
 
 protected abstract int getMinContentWidth();
 
 protected abstract int getMinContentHeight();
 
 protected abstract int getPrefContentWidth(int);
 
 protected abstract int getPrefContentHeight(int);
 
 protected void sizeChanged(int, int)
 {
 }
 
 protected final void invalidate()
 {
 }
 
 protected abstract void paint(Graphics, int, int);
 
 protected final void repaint()
 {
 }
 
 protected final void repaint(int, int, int, int)
 {
 }
 
 protected boolean traverse(int, int, int, int[])
 {
  return false;
 }
 
 protected void traverseOut()
 {
 }
 
 protected void keyPressed(int)
 {
 }
 
 protected void keyReleased(int)
 {
 }
 
 protected void keyRepeated(int)
 {
 }
 
 protected void pointerPressed(int, int)
 {
 }
 
 protected void pointerReleased(int, int)
 {
 }
 
 protected void pointerDragged(int, int)
 {
 }
 
 protected void showNotify()
 {
 }
 
 protected void hideNotify()
 {
 }
 
}