|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.faceless.pdf2.viewer2.ViewerFeature
org.faceless.pdf2.viewer2.AnnotationComponentFactory
org.faceless.pdf2.viewer2.feature.FormRadioButtonWidgetFactory
public class FormRadioButtonWidgetFactory
Create annotations to handle WidgetAnnotation objects belonging to
FormRadioButton and FormCheckbox objects.
The name of this feature is "FormRadioButtonWidgetFactory".
This code is copyright the Big Faceless Organization. You're welcome to use, modify and distribute it in any form in your own projects, provided those projects continue to make use of the Big Faceless PDF library.
| Constructor Summary | |
|---|---|
protected |
FormRadioButtonWidgetFactory()
Create a new FormRadioButtonWidgetFactory. |
| Method Summary | |
|---|---|
JComponent |
createComponent(PagePanel pagepanel,
PDFAnnotation annot)
Return a JComponent that will visually represent the specified PDFAnnotation. |
static FormRadioButtonWidgetFactory |
getInstance()
Return the FormRadioButtonWidgetFactory |
boolean |
matches(PDFAnnotation annot)
Return true if this AnnotationComponentFactory could create a JComponent
for the specified PDFAnnotation. |
| Methods inherited from class org.faceless.pdf2.viewer2.AnnotationComponentFactory |
|---|
bindComponentLocation, bindComponentLocation, bindComponentLocation, createEditComponent, createNewAnnotation, getAnnotationType, paintComponent, toString |
| Methods inherited from class org.faceless.pdf2.viewer2.ViewerFeature |
|---|
getAllFeatures, getCustomJavaScript, getName, initialize |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected FormRadioButtonWidgetFactory()
getInstance() method.
| Method Detail |
|---|
public static FormRadioButtonWidgetFactory getInstance()
public boolean matches(PDFAnnotation annot)
AnnotationComponentFactoryJComponent
for the specified PDFAnnotation.
matches in class AnnotationComponentFactory
public JComponent createComponent(PagePanel pagepanel,
PDFAnnotation annot)
AnnotationComponentFactory
createComponent in class AnnotationComponentFactorypagepanel - the panel the JComponent will be added toannot - the annotation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||