com.lightdev.app.shtm
Interface AttributeComponent

All Known Implementing Classes:
AttributeComboBox, AttributePanel, BorderPanel, BoundariesPanel, ColorPanel, EffectPanel, FrmMain.BoldAction, FrmMain.FontFamilyPicker, FrmMain.FontSizePicker, FrmMain.ItalicAction, FrmMain.ToggleAction, FrmMain.UnderlineAction, ListPanel, MarginPanel, ParaStyleDialog, SizeSelectorPanel, StylePanel, StyleSelector

public interface AttributeComponent

Defines a set of methods common to components bound to AttributeSets.


Method Summary
 javax.swing.text.AttributeSet getValue()
          get the value of this AttributeComponent
 javax.swing.text.AttributeSet getValue(boolean includeUnchanged)
           
 boolean setValue(javax.swing.text.AttributeSet a)
          set the value of this AttributeComponent
 

Method Detail

setValue

boolean setValue(javax.swing.text.AttributeSet a)
set the value of this AttributeComponent

Parameters:
a - the set of attributes possibly having an attribute this component can display
Returns:
true, if the set of attributes had a matching attribute, false if not

getValue

javax.swing.text.AttributeSet getValue()
get the value of this AttributeComponent

Returns:
the value selected from this component

getValue

javax.swing.text.AttributeSet getValue(boolean includeUnchanged)