|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.latexdraw.glib.views.AbstractView<S>
S
- The type of the observed model.public abstract class AbstractView<S extends IShape>
Defines an abstract view.
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.
04/15/2008
Field Summary | |
---|---|
protected S |
shape
The shape model. |
Constructor Summary | |
---|---|
AbstractView(S model)
Creates an abstract view. |
Method Summary | |
---|---|
S |
getShape()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.latexdraw.glib.views.IAbstractView |
---|
update |
Field Detail |
---|
protected S extends IShape shape
Constructor Detail |
---|
public AbstractView(S model)
model
- The model to view.
java.lang.IllegalArgumentException
- If the given model is null.Method Detail |
---|
public S getShape()
getShape
in interface IAbstractView
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |