com.japisoft.xmlpad.helper
Class AbstractHelper

java.lang.Object
  extended bycom.japisoft.xmlpad.helper.AbstractHelper
All Implemented Interfaces:
Helper
Direct Known Subclasses:
AbstractEntityHelper, AbstractTagHelper, AttributeHelper

public class AbstractHelper
extends java.lang.Object
implements Helper

Common helper class

UIManager properties :

 - xmlpad.helper.backgroundColor
 - xmlpad.helper.foregroundColor
 - xmlpad.helper.selectionBackgroundColor
 - xmlpad.helper.selectionForegroundColor
 - xmlpad.helper.icon
 

Author:
(c) 2003 JAPISOFT

Field Summary
static javax.swing.JFrame WIN
           
 
Constructor Summary
AbstractHelper()
           
 
Method Summary
 void dispose()
          Free unused ressource
 void prepare(java.lang.Object loc)
          Prepare this helper for this location
 boolean show(XMLEditor editor, int offset)
          Show the helper on this editor at this offset location
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WIN

public static javax.swing.JFrame WIN
Constructor Detail

AbstractHelper

public AbstractHelper()
Method Detail

prepare

public void prepare(java.lang.Object loc)
Prepare this helper for this location

Specified by:
prepare in interface Helper

show

public boolean show(XMLEditor editor,
                    int offset)
Show the helper on this editor at this offset location

Specified by:
show in interface Helper

dispose

public void dispose()
Description copied from interface: Helper
Free unused ressource

Specified by:
dispose in interface Helper