1 /*
2 * JScroll - the scrollable desktop pane for Java.
3 * Copyright (C) 2003 Tom Tessier
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 *
19 */
20
21 package org.jscroll.widgets;
22
23
24 /***
25 * This interface exposes the accessor and mutator (getter and setter) methods
26 * required to get and set the internal frame associated with an implementing class.
27 * Used by {@link org.jscroll.widgets.DesktopListener DesktopListener}
28 * to abstract access to the menu and toggle buttons that implement this interface.
29 *
30 * @author <a href="mailto:tessier@gabinternet.com">Tom Tessier</a>
31 * @version 1.0 2-Aug-2001
32 */
33 public interface FrameAccessorInterface {
34 /***
35 * returns the associated frame
36 *
37 * @return the JScrollInternalFrame associated with the object
38 */
39 JScrollInternalFrame getAssociatedFrame();
40
41 /***
42 * sets the associated frame
43 *
44 * @param associatedFrame the JScrollInternalFrame to associate with
45 * the object
46 */
47 void setAssociatedFrame(JScrollInternalFrame associatedFrame);
48 }
This page was automatically generated by Maven