1 /* 2 Copyright (C) 2003 Laurent Martelli <laurent@aopsys.com> 3 4 This program is free software; you can redistribute it and/or modify 5 it under the terms of the GNU Lesser General Public License as 6 published by the Free Software Foundation; either version 2 of the 7 License, or (at your option) any later version. 8 9 This program is distributed in the hope that it will be useful, 10 but WITHOUT ANY WARRANTY; without even the implied warranty of 11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 GNU Lesser General Public License for more details. 13 14 You should have received a copy of the GNU Lesser General Public 15 License along with this program; if not, write to the Free Software 16 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 17 USA */ 18 19 package org.objectweb.jac.aspects.gui; 20 21 /** 22 * Represents the content of a panel. 23 */ 24 public class PanelContent { 25 String type; 26 String[] args; 27 28 /** 29 * Creates a new PanelContent 30 * @param type the type of the view of panel 31 * @param args arguments of the view 32 */ 33 public PanelContent(String type, String[] args) { 34 this.args = args; 35 this.type = type; 36 } 37 38 /** 39 * Gets the arguments of the view 40 * @return the arguments of the view 41 */ 42 public String[] getArgs() { 43 return args; 44 } 45 46 /** 47 * Gets the type of the view 48 * @return the type of the view 49 */ 50 public String getType() { 51 return type; 52 } 53 } 54