1 // -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
2 // ---------------------------------------------------------------------------
4 // Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
5 // ---------------------------------------------------------------------------
6 // SquirrelJME is under the GNU General Public License v3+, or later.
7 // See license.mkd for licensing and copyright information.
8 // ---------------------------------------------------------------------------
10 package cc
.squirreljme
.runtime
.lcdui
.gfx
;
12 import javax
.microedition
.lcdui
.Graphics
;
15 * This is used for the target of any {@link ProxyGraphics}.
19 public final class ProxyGraphicsTarget
21 /** The target graphics object. */
22 volatile Graphics _target
;
25 * Initializes the target graphics.
27 * @param __g The graphics to target.
28 * @throws NullPointerException On null arguments.
31 public ProxyGraphicsTarget(Graphics __g
)
32 throws NullPointerException
35 throw new NullPointerException("NARG");
41 * Sets the graphics to draw onto.
43 * @param __g The graphics to target.
44 * @throws NullPointerException On null arguments.
47 public void setGraphics(Graphics __g
)
48 throws NullPointerException
51 throw new NullPointerException("NARG");