it.stefanochizzolini.clown.documents.interaction.annotations
Class DualWidget
java.lang.Object
it.stefanochizzolini.clown.objects.PdfObjectWrapper<PdfDictionary>
it.stefanochizzolini.clown.documents.interaction.annotations.Annotation
it.stefanochizzolini.clown.documents.interaction.annotations.Widget
it.stefanochizzolini.clown.documents.interaction.annotations.DualWidget
public class DualWidget
- extends Widget
Dual-state widget annotation.
As its name implies, it has two states: on and off.
- Since:
- 0.0.7
- Version:
- 0.0.7
- Author:
- Stefano Chizzolini (http://www.stefanochizzolini.it)
Methods inherited from class it.stefanochizzolini.clown.documents.interaction.annotations.Annotation |
getAction, getAppearance, getBorder, getBox, getFlags, getModificationDate, getName, getPage, getText, isPrintable, isVisible, setAction, setActions, setAppearance, setBorder, setBox, setFlags, setModificationDate, setName, setPage, setPrintable, setText, setVisible, wrap, wrap |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DualWidget
public DualWidget(Page page,
Rectangle2D box,
String widgetName)
- Parameters:
widgetName
- Widget name. It corresponds to the on-state name.
DualWidget
public DualWidget(PdfDirectObject baseObject,
PdfIndirectObject container)
clone
public DualWidget clone(Document context)
- Description copied from class:
PdfObjectWrapper
- Gets a clone of the object, registered inside the given document context.
- Overrides:
clone
in class Widget
- Parameters:
context
- Which document the clone has to be registered in.
getWidgetName
public String getWidgetName()
Project home page
Copyright © 2006-2010 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.