org.relayirc.swingutil.propsheet.editors
Class LabelEditor

java.lang.Object
  |
  +--java.beans.PropertyEditorSupport
        |
        +--org.relayirc.swingutil.propsheet.editors.LabelEditor
All Implemented Interfaces:
java.beans.PropertyEditor

public class LabelEditor
extends java.beans.PropertyEditorSupport

PropertyEditor that provides custom editor for a read-only string value.

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

Constructor Summary
LabelEditor()
           
 
Method Summary
 java.awt.Component getCustomEditor()
           
 boolean isPaintable()
           
 void paintValue(java.awt.Graphics gfx, java.awt.Rectangle rect)
           
 
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

LabelEditor

public LabelEditor()
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

getCustomEditor

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