Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: com/apple/eawt/CocoaComponent.java


1   /*
2    *  CocoaComponent.java
3    *  allusionsApp
4    *
5    *  Created by Matthieu Cormier on Fri Jun 20 2003.
6    *
7    * This program is free software; you can redistribute it and/or
8    * modify it under the terms of the GNU General Public License
9    * as published by the Free Software Foundation; either version 2
10   * of the License, or any later version.
11   *
12   * This program is distributed in the hope that it will be useful,
13   * but WITHOUT ANY WARRANTY; without even the implied warranty of
14   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15   * GNU General Public License for more details.
16   *
17   * You should have received a copy of the GNU General Public License
18   * along with this program; if not, write to the Free Software
19   * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
20   */
21  
22  package com.apple.eawt;
23  
24  //  This is a stub interface for non Mac OS X java 1.4 environments
25  
26  public abstract class CocoaComponent extends java.awt.Canvas
27  {
28      public CocoaComponent(){}
29       
30      public abstract  int createNSView();
31  
32      public abstract java.awt.Dimension getMaximumSize();
33  
34      public abstract java.awt.Dimension getMinimumSize();
35  
36      public abstract java.awt.Dimension getPreferredSize();
37      
38      public void sendMessage(int messageID, java.lang.Object message) {}
39  }