net.sf.latexdraw.glib.views.Java2D.interfaces
Class View2DTK

java.lang.Object
  extended by 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

Field Summary
private static IViewsFactory factory
          The current view factory.
 
Constructor Summary
private View2DTK()
           
 
Method Summary
static IViewsFactory getFactory()
           
static void setFactory(IViewsFactory factory)
          Sets the view factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

factory

private static IViewsFactory factory
The current view factory.

Constructor Detail

View2DTK

private View2DTK()
Method Detail

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