001: /*
002: * Licensed to the Apache Software Foundation (ASF) under one or more
003: * contributor license agreements. See the NOTICE file distributed with
004: * this work for additional information regarding copyright ownership.
005: * The ASF licenses this file to You under the Apache License, Version 2.0
006: * (the "License"); you may not use this file except in compliance with
007: * the License. You may obtain a copy of the License at
008: *
009: * http://www.apache.org/licenses/LICENSE-2.0
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: */
017:
018: package org.apache.harmony.beans.tests.support.mock;
019:
020: import java.awt.Component;
021: import java.awt.Graphics;
022: import java.awt.Rectangle;
023: import java.beans.PropertyChangeListener;
024: import java.beans.PropertyEditor;
025:
026: /**
027: * Test PropertyEditorManager
028: */
029: public class FozzEditor implements PropertyEditor {
030:
031: /*
032: * (non-Javadoc)
033: *
034: * @see java.beans.PropertyEditor#addPropertyChangeListener(java.beans.PropertyChangeListener)
035: */
036: public void addPropertyChangeListener(
037: PropertyChangeListener listener) {
038: // TO DO Auto-generated method stub
039:
040: }
041:
042: /*
043: * (non-Javadoc)
044: *
045: * @see java.beans.PropertyEditor#getAsText()
046: */
047: public String getAsText() {
048: // TO DO Auto-generated method stub
049: return null;
050: }
051:
052: /*
053: * (non-Javadoc)
054: *
055: * @see java.beans.PropertyEditor#getCustomEditor()
056: */
057: public Component getCustomEditor() {
058: // TO DO Auto-generated method stub
059: return null;
060: }
061:
062: /*
063: * (non-Javadoc)
064: *
065: * @see java.beans.PropertyEditor#getJavaInitializationString()
066: */
067: public String getJavaInitializationString() {
068: // TO DO Auto-generated method stub
069: return null;
070: }
071:
072: /*
073: * (non-Javadoc)
074: *
075: * @see java.beans.PropertyEditor#getTags()
076: */
077: public String[] getTags() {
078: // TO DO Auto-generated method stub
079: return null;
080: }
081:
082: /*
083: * (non-Javadoc)
084: *
085: * @see java.beans.PropertyEditor#getValue()
086: */
087: public Object getValue() {
088: // TO DO Auto-generated method stub
089: return null;
090: }
091:
092: /*
093: * (non-Javadoc)
094: *
095: * @see java.beans.PropertyEditor#isPaintable()
096: */
097: public boolean isPaintable() {
098: // TO DO Auto-generated method stub
099: return false;
100: }
101:
102: /*
103: * (non-Javadoc)
104: *
105: * @see java.beans.PropertyEditor#paintValue(java.awt.Graphics,
106: * java.awt.Rectangle)
107: */
108: public void paintValue(Graphics graphics, Rectangle box) {
109: // TO DO Auto-generated method stub
110:
111: }
112:
113: /*
114: * (non-Javadoc)
115: *
116: * @see java.beans.PropertyEditor#removePropertyChangeListener(java.beans.PropertyChangeListener)
117: */
118: public void removePropertyChangeListener(
119: PropertyChangeListener listener) {
120: // TO DO Auto-generated method stub
121:
122: }
123:
124: /*
125: * (non-Javadoc)
126: *
127: * @see java.beans.PropertyEditor#setAsText(java.lang.String)
128: */
129: public void setAsText(String text) throws IllegalArgumentException {
130: // TO DO Auto-generated method stub
131:
132: }
133:
134: /*
135: * (non-Javadoc)
136: *
137: * @see java.beans.PropertyEditor#setValue(java.lang.Object)
138: */
139: public void setValue(Object value) {
140: // TO DO Auto-generated method stub
141:
142: }
143:
144: /*
145: * (non-Javadoc)
146: *
147: * @see java.beans.PropertyEditor#supportsCustomEditor()
148: */
149: public boolean supportsCustomEditor() {
150: // TO DO Auto-generated method stub
151: return false;
152: }
153:
154: }
|