home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgLangD.iso / VCAFE.3.0A / Main.bin / VisualObjectPropertyEditorSupport.java < prev    next >
Text File  |  1998-10-25  |  912b  |  40 lines

  1. /*
  2.  * Copyright 1998 Symantec Corporation, All Rights Reserved.
  3.  */
  4.  
  5. package com.symantec.itools.vcafe.openapi.beans;
  6.  
  7. import java.beans.PropertyEditorSupport;
  8. import com.symantec.itools.vcafe.openapi.VisualObject;
  9.  
  10. /**
  11.  * A property editor that has access to a Visual Object
  12.  */
  13. public class VisualObjectPropertyEditorSupport
  14.     extends PropertyEditorSupport
  15.     implements VisualObjectPropertyEditor
  16. {
  17.     public void setVisualObject(VisualObject visualObject)
  18.     {
  19.         m_VisualObject = visualObject;
  20.     }
  21.     
  22.     public VisualObject getVisualObject()
  23.     {
  24.         return m_VisualObject;
  25.     }
  26.     
  27.     public void setObject(Object object)
  28.     {
  29.         m_Object = object;
  30.     }
  31.     
  32.     public Object getObject()
  33.     {
  34.         return m_Object;
  35.     }
  36.     
  37.     protected VisualObject m_VisualObject   = null;
  38.     protected Object m_Object               = null;
  39. }
  40.