function val = get(A, varargin)
%AXISCHILD/GET

%   Copyright (c) 1984-98 by The MathWorks, Inc.
%   $Date: 1997/12/06 00:39:50 $  $Revision: 1.6 $
%   J.H. Roh & B.A. Jones 4-25-97.

HGObj = A.scribehgobj;

if nargin == 2
   switch varargin{1}
   case 'Prefix'
      val = A.Prefix;
   case 'Suffix'
      val = A.Suffix;
   case 'AutoDragConstraint'
      val = A.AutoDragConstraint;
   case 'DragConstraint'
      val = A.DragConstraint;
   case 'OldDragConstraint'
      val = A.OldDragConstraint;
   case 'Figure'
      HG = get(A,'MyHGHandle');
      AX= get(HG,'Parent');
      val = get(AX,'Parent');
   case 'Axis'
      HG = get(A,'MyHGHandle');
      val= get(HG,'Parent');
   otherwise
      val = get(HGObj, varargin{:});
   end
else
   val = get(HGObj, varargin{:});
end


