zinger.bsheet
Class AppearanceEditor
java.lang.Object
zinger.bsheet.DialogEditor
zinger.bsheet.AppearanceEditor
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener, javax.swing.event.ChangeListener
public class AppearanceEditor
- extends DialogEditor
- implements javax.swing.event.ChangeListener
Fields inherited from class zinger.bsheet.DialogEditor |
acceptButton, acceptCommand, acceptLabel, cancelButton, cancelCommand, cancelLabel, cellEditCommand, changesAccepted, colEditCommand, dialog, dialogTitle, lock, table |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fgColorChooser
protected javax.swing.JColorChooser fgColorChooser
bgColorChooser
protected javax.swing.JColorChooser bgColorChooser
fontFamilyPicker
protected javax.swing.JComboBox fontFamilyPicker
fontSizeSpinner
protected javax.swing.JSpinner fontSizeSpinner
boldCheckBox
protected javax.swing.JCheckBox boldCheckBox
italicCheckBox
protected javax.swing.JCheckBox italicCheckBox
hAlignmentSelection
protected javax.swing.JComboBox hAlignmentSelection
vAlignmentSelection
protected javax.swing.JComboBox vAlignmentSelection
sample
protected javax.swing.JComponent sample
clearButton
protected javax.swing.JButton clearButton
clearAccepted
protected boolean clearAccepted
AppearanceEditor
public AppearanceEditor(javax.swing.JTable table)
editColumns
protected void editColumns()
- Specified by:
editColumns
in class DialogEditor
editCells
protected void editCells()
- Specified by:
editCells
in class DialogEditor
prompt
protected void prompt()
getHAlignmentFromSelection
protected int getHAlignmentFromSelection(int hAlignmentSelection)
getVAlignmentFromSelection
protected int getVAlignmentFromSelection(int vAlignmentSelection)
getSelectionFromHAlignment
protected int getSelectionFromHAlignment(int hAlignment)
getSelectionFromVAlignment
protected int getSelectionFromVAlignment(int vAlignment)
createDialog
protected void createDialog()
- Overrides:
createDialog
in class DialogEditor
buildButtonPanel
protected javax.swing.JPanel buildButtonPanel()
- Overrides:
buildButtonPanel
in class DialogEditor
stateChanged
public void stateChanged(javax.swing.event.ChangeEvent ev)
- Specified by:
stateChanged
in interface javax.swing.event.ChangeListener
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent ev)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
- Overrides:
actionPerformed
in class DialogEditor
updateSampleUI
protected void updateSampleUI()
- Since:
- 1.0.5
getCurrentFont
protected java.awt.Font getCurrentFont()
updateSampleFont
protected void updateSampleFont()
- Deprecated. Use
updateSampleUI()
.
- See Also:
updateSampleUI()