nl.coderight.jazz.form.field.html
Class HypertextField

java.lang.Object
  extended by nl.coderight.jazz.form.FormField<V>
      extended by nl.coderight.jazz.form.FormControl<V>
          extended by nl.coderight.jazz.form.field.scrollable.ScrollableField<String>
              extended by nl.coderight.jazz.form.field.html.HypertextField

public class HypertextField
extends ScrollableField<String>

A field that displays html.

See Also:
JEditorPane

Nested Class Summary
 
Nested classes/interfaces inherited from class nl.coderight.jazz.form.field.scrollable.ScrollableField
ScrollableField.ScrollBarCorner, ScrollableField.ScrollBarPolicy
 
Field Summary
 
Fields inherited from class nl.coderight.jazz.form.FormField
Config
 
Constructor Summary
HypertextField()
           
HypertextField(String bindID)
           
 
Method Summary
protected  JEditorPane createField()
           
protected  JEditorPane getField()
           
 boolean isScrollable()
           
protected  void onHyperlinkClicked(String text, URL url)
           
protected  void onHyperlinkEntered()
           
protected  void onHyperlinkExited()
           
 void print()
           
 void setUseDesktopSupport(boolean useDesktop)
           
 void setValue(String text)
          Sets field value.
 
Methods inherited from class nl.coderight.jazz.form.field.scrollable.ScrollableField
getComponent, getFocusComponent, getPreferredSize, getViewportSize, isOpaque, onViewportChanged, setBackground, setBackgroundImage, setBorder, setColumnHeader, setComponent, setCorner, setEnabled, setForeground, setOpaque, setPreferredSize, setRowHeader, setScrollable, setScrollBarPolicy, setTitle
 
Methods inherited from class nl.coderight.jazz.form.FormControl
addField, addField, focus, focusField, focusNextField, focusPreviousField, getBindID, getFields, hasFocus, registerKeyboardAction, setComponent, setLayout
 
Methods inherited from class nl.coderight.jazz.form.FormField
dispatchEvent, dispose, focusNextField, focusPreviousField, getBackground, getBorder, getCursor, getDataBinding, getForeground, getForm, getLabel, getParent, getToolTip, getValue, isBindable, isChanged, isEnabled, isFocusable, isReadonly, isShowing, isValueChanged, isVisible, onChange, onClick, onDoubleClick, onFocusGained, onFocusLost, onMouseEnter, onMouseLeave, onPopup, setBindID, setChanged, setCursor, setDataBinding, setFocusable, setOnFocusGainedEvent, setOnFocusLostEvent, setPopupMenu, setReadonly, setToolTip, setVisible, translate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HypertextField

public HypertextField()

HypertextField

public HypertextField(String bindID)
Method Detail

createField

protected JEditorPane createField()

getField

protected JEditorPane getField()

setValue

public void setValue(String text)
Description copied from class: FormField
Sets field value.

Overrides:
setValue in class FormField<String>

print

public void print()
           throws PrinterException
Throws:
PrinterException

isScrollable

public final boolean isScrollable()
Overrides:
isScrollable in class ScrollableField<String>

setUseDesktopSupport

public void setUseDesktopSupport(boolean useDesktop)

onHyperlinkEntered

protected void onHyperlinkEntered()

onHyperlinkExited

protected void onHyperlinkExited()

onHyperlinkClicked

protected void onHyperlinkClicked(String text,
                                  URL url)


Copyright 2010 CodeRight, All rights reserved.