Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.paradoxpoint.libitina.monument
Class AbstractItemEditor  view AbstractItemEditor download AbstractItemEditor.java

java.lang.Object
  extended bycom.paradoxpoint.libitina.monument.AbstractItemEditor
All Implemented Interfaces:
ItemEditor
Direct Known Subclasses:
ItemPanel.ImageItemEditor, ItemPanel.TextItemEditor, ItemPanel.TransformableImageItemEditor

public abstract class AbstractItemEditor
extends java.lang.Object
implements ItemEditor


Field Summary
protected  javax.swing.event.ChangeEvent changeEvent
           
protected  javax.swing.event.EventListenerList listenerList
           
 
Constructor Summary
protected AbstractItemEditor()
          Creates a new instance of AbstractItemEditor
 
Method Summary
 void addItemEditorListener(ItemEditorListener l)
           
protected  void fireEditingStopped()
           
abstract  java.awt.Component getItemEditorComponent(ItemPanel panel, Item item)
           
 ItemEditorListener[] getItemEditorListeners()
           
 boolean isItemEditable(java.util.EventObject anEvent)
           
 void removeItemEditorListener(ItemEditorListener l)
           
 boolean shouldSelectItem(java.util.EventObject anEvent)
           
 boolean stopItemEditing()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

listenerList

protected javax.swing.event.EventListenerList listenerList

changeEvent

protected javax.swing.event.ChangeEvent changeEvent
Constructor Detail

AbstractItemEditor

protected AbstractItemEditor()
Creates a new instance of AbstractItemEditor

Method Detail

addItemEditorListener

public void addItemEditorListener(ItemEditorListener l)
Specified by:
addItemEditorListener in interface ItemEditor

fireEditingStopped

protected void fireEditingStopped()

getItemEditorComponent

public abstract java.awt.Component getItemEditorComponent(ItemPanel panel,
                                                          Item item)
Specified by:
getItemEditorComponent in interface ItemEditor

getItemEditorListeners

public ItemEditorListener[] getItemEditorListeners()

isItemEditable

public boolean isItemEditable(java.util.EventObject anEvent)
Specified by:
isItemEditable in interface ItemEditor

removeItemEditorListener

public void removeItemEditorListener(ItemEditorListener l)
Specified by:
removeItemEditorListener in interface ItemEditor

shouldSelectItem

public boolean shouldSelectItem(java.util.EventObject anEvent)
Specified by:
shouldSelectItem in interface ItemEditor

stopItemEditing

public boolean stopItemEditing()
Specified by:
stopItemEditing in interface ItemEditor