org.relayirc.swingutil.propsheet.editors
Class TriggeredEditor

java.lang.Object
  |
  +--java.beans.PropertyEditorSupport
        |
        +--org.relayirc.swingutil.propsheet.PropSheetEditor
              |
              +--org.relayirc.swingutil.propsheet.editors.TriggeredEditor
All Implemented Interfaces:
java.beans.PropertyEditor
Direct Known Subclasses:
TriggeredListEditor, TriggeredListSelectionEditor, TriggeredTextEditor

public abstract class TriggeredEditor
extends PropSheetEditor

Label wih a trigger button.

Version:
$Revision: 1.1.2.4 $

The contents of this file are subject to the Mozilla Public License Version 1.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/

Original Code:Relay IRC Chat Engine
Initial Developer: David M. Johnson
Contributor(s):
Copyright (C) 1997-2000 by David M. Johnson
All Rights Reserved.
Author:
David M. Johnson

Fields inherited from class org.relayirc.swingutil.propsheet.PropSheetEditor
_isWritable, _toolTipText
 
Constructor Summary
TriggeredEditor()
           
 
Method Summary
 javax.swing.JButton getButton()
           
 java.awt.Component getCustomEditor()
           
 boolean isPaintable()
           
 void paintValue(java.awt.Graphics gfx, java.awt.Rectangle rect)
           
abstract  void triggered()
           
 
Methods inherited from class org.relayirc.swingutil.propsheet.PropSheetEditor
getToolTipText, isWritable, setToolTipText, setWritable
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getJavaInitializationString, getTags, getValue, removePropertyChangeListener, setAsText, setValue, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TriggeredEditor

public TriggeredEditor()
Method Detail

getButton

public javax.swing.JButton getButton()

triggered

public abstract void triggered()

isPaintable

public boolean isPaintable()
Overrides:
isPaintable in class java.beans.PropertyEditorSupport

paintValue

public void paintValue(java.awt.Graphics gfx,
                       java.awt.Rectangle rect)
Overrides:
paintValue in class java.beans.PropertyEditorSupport

getCustomEditor

public java.awt.Component getCustomEditor()
Overrides:
getCustomEditor in class java.beans.PropertyEditorSupport