harmonic.mz.entries
Class FontEntry

java.lang.Object
  |
  +--HWPanel
        |
        +--harmonic.mz.gui.ValueEntry
              |
              +--harmonic.mz.entries.FontEntry
All Implemented Interfaces:
java.awt.event.ComponentListener, Documentable, java.util.EventListener, NodeListener, harmonic.viewer3D.Task

public class FontEntry
extends ValueEntry

Font value setting widget.

See Also:
Serialized Form

Constructor Summary
FontEntry(java.lang.String _label, java.awt.Font _font)
          Creates a FontEntry
FontEntry(java.lang.String _label, java.lang.Object listener, java.lang.String callback, java.awt.Font _font)
          Creates a FontEntry
 
Method Summary
 void cleanTask()
           
 void format(int w, int h)
           
 java.awt.Dimension getEntrySize()
          Override to return the size of the specialized value entry controls.
 java.awt.Font getFont()
          Returns font value.
 void onFontFamily(java.awt.event.ItemEvent e)
           
 void onFontSize(java.awt.event.ItemEvent e)
           
 void onFontStyle(java.awt.event.ItemEvent e)
           
 void setField(ModelNode field)
          Sets data node to effect.
 void updateFontSample()
           
 
Methods inherited from class harmonic.mz.gui.ValueEntry
_notifyListeners_, add, addEntryListener, aquireInput, assignFromReadout, beginEntry, beginTask, cancelEntry, cancelTask, componentHidden, componentMoved, componentResized, componentShown, contract, contractIcon, echoFieldChange, expand, expandCheck, expandIcon, finishEntry, finishTask, getField, getInstanceURL, getPreferredSize, getTaskName, getTypeURL, highlight, init, initReadout, innerChange, isActive, isDoingTask, isExpanded, monologFinished, mousePressed, nodeChanged, notifyListeners_ValueChanged, notifyListeners, onSettingsButton, removeEntryListener, savePrev, setDocURL, setInnerChange, setValue, transferListener, unlinkField, updateField, validateUISettings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FontEntry

public FontEntry(java.lang.String _label,
                 java.awt.Font _font)
Creates a FontEntry


FontEntry

public FontEntry(java.lang.String _label,
                 java.lang.Object listener,
                 java.lang.String callback,
                 java.awt.Font _font)
Creates a FontEntry

Method Detail

format

public void format(int w,
                   int h)

getEntrySize

public java.awt.Dimension getEntrySize()
Description copied from class: ValueEntry
Override to return the size of the specialized value entry controls.

Overrides:
getEntrySize in class ValueEntry

setField

public void setField(ModelNode field)
Sets data node to effect.

Overrides:
setField in class ValueEntry

getFont

public java.awt.Font getFont()
Returns font value.


onFontFamily

public void onFontFamily(java.awt.event.ItemEvent e)

onFontStyle

public void onFontStyle(java.awt.event.ItemEvent e)

onFontSize

public void onFontSize(java.awt.event.ItemEvent e)

updateFontSample

public void updateFontSample()

cleanTask

public void cleanTask()