org.relayirc.swingutil.propsheet.editors
Class ComboEditor

java.lang.Object
  |
  +--java.beans.PropertyEditorSupport
        |
        +--org.relayirc.swingutil.propsheet.PropSheetEditor
              |
              +--org.relayirc.swingutil.propsheet.editors.ComboEditor
All Implemented Interfaces:
java.beans.PropertyEditor
Direct Known Subclasses:
BooleanEditor

public class ComboEditor
extends PropSheetEditor

PropertyEditor that provides custom editor for editing a string value by selecting from a list of possible values.

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): No contributors to this file
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
ComboEditor()
           
 
Method Summary
 java.awt.Component getCustomEditor()
           
 boolean isPaintable()
           
 void paintValue(java.awt.Graphics gfx, java.awt.Rectangle rect)
           
 void setTags(GuiObject[] tags)
           
 void setTags(java.lang.String[] tags)
           
 
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

ComboEditor

public ComboEditor()
Method Detail

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

setTags

public void setTags(GuiObject[] tags)

setTags

public void setTags(java.lang.String[] tags)

getCustomEditor

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