net.sf.latexdraw.glib.views.Java2D.interfaces
Class View2DTK
java.lang.Object
net.sf.latexdraw.glib.views.Java2D.interfaces.View2DTK
public final class View2DTK
- extends java.lang.Object
This class permits the access to the current view factory.
This file is part of LaTeXDraw.
Copyright (c) 2005-2012 Arnaud BLOUIN
LaTeXDraw is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later version.
LaTeXDraw is distributed without any warranty; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
11/18/2011
- Since:
- 3.0
- Author:
- Arnaud BLOUIN
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
factory
private static IViewsFactory factory
- The current view factory.
View2DTK
private View2DTK()
setFactory
public static void setFactory(IViewsFactory factory)
- Sets the view factory.
- Parameters:
factory
- The new factory. Can be null.- Since:
- 3.0
getFactory
public static IViewsFactory getFactory()
- Returns:
- The current factory. Can be null.
- Since:
- 3.0