com.klg.jclass.table.beans
Class SBLayoutEditor
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--javax.swing.JComponent
|
+--javax.swing.JPanel
|
+--com.klg.jclass.table.beans.TablePropertyEditor
|
+--com.klg.jclass.table.beans.SBLayoutEditor
- All Implemented Interfaces:
- Accessible, ActionListener, EventListener, FocusListener, ImageObserver, ItemListener, JCSelectListener, MenuContainer, PropertyEditor, Serializable
- public class SBLayoutEditor
- extends TablePropertyEditor
- implements ActionListener, FocusListener, ItemListener
Editor for sbLayout series.
- See Also:
- Serialized Form
Fields inherited from class com.klg.jclass.table.beans.TablePropertyEditor |
ALL, ALL_CELLS, ALLCELLS, buttonResetAll, choiceColumn, choiceRow, EnumCells, EnumRange, initValue, LABEL, MAXINT, nl, NOVALUE, numberDelimiters, RANGE, SELECT_ALL, SELECT_CELLS, SELECT_COLUMNS, SELECT_NONE, selectionPolicy, SHOW_COLUMNS, support, tableView, textColumn, textHeight, textRow, textWidth, updateComponents |
Constructor Summary |
SBLayoutEditor()
Constructs a SBLayoutEditor editor. |
Methods inherited from class com.klg.jclass.table.beans.TablePropertyEditor |
addPropertyChangeListener, afterSelect, beforeSelect, enable, errorMessageBox, findParent, getCustomEditor, getFirstCell, getInt, getRangeValue, getRangeValue, getStart, getTableView, getTags, init, init, initComboBox, isPaintable, makeControlPanel, makeSelectionPanel, makeSizeResetPanel, paintValue, removePropertyChangeListener, select, setAsText, setChoice, setSelected, setSelected, setSelectedItem, supportsCustomEditor, toIntValue, toString, updateSelection, updateSelection, updateSize, updateSizePanel, updateTableSize |
Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
horizPosition
protected JComboBox horizPosition
vertPosition
protected JComboBox vertPosition
horizAttachment
protected JComboBox horizAttachment
vertAttachment
protected JComboBox vertAttachment
horizDisplay
protected JComboBox horizDisplay
vertDisplay
protected JComboBox vertDisplay
horizTrack
protected JComboBox horizTrack
vertTrack
protected JComboBox vertTrack
horizOffset
protected JTextField horizOffset
vertOffset
protected JTextField vertOffset
vertTrackColumn
protected JTextField vertTrackColumn
horizTrackRow
protected JTextField horizTrackRow
ALWAYS
protected static final String ALWAYS
- See Also:
- Constant Field Values
NEVER
protected static final String NEVER
- See Also:
- Constant Field Values
AS_NEEDED
protected static final String AS_NEEDED
- See Also:
- Constant Field Values
BY_CELLS
protected static final String BY_CELLS
- See Also:
- Constant Field Values
AT_SIDE
protected static final String AT_SIDE
- See Also:
- Constant Field Values
TO_CELLS
protected static final String TO_CELLS
- See Also:
- Constant Field Values
TO_TABLE
protected static final String TO_TABLE
- See Also:
- Constant Field Values
LIVE
protected static final String LIVE
- See Also:
- Constant Field Values
COLUMN_NUMBER
protected static final String COLUMN_NUMBER
- See Also:
- Constant Field Values
ROW
protected static final String ROW
- See Also:
- Constant Field Values
ROW_NUMBER
protected static final String ROW_NUMBER
- See Also:
- Constant Field Values
COLUMN
protected static final String COLUMN
- See Also:
- Constant Field Values
EnumDisplay
protected static com.klg.jclass.table.beans.EnumString[] EnumDisplay
EnumPosition
protected static com.klg.jclass.table.beans.EnumString[] EnumPosition
EnumAttachment
protected static com.klg.jclass.table.beans.EnumString[] EnumAttachment
EnumTrackRow
protected static com.klg.jclass.table.beans.EnumString[] EnumTrackRow
EnumTrackColumn
protected static com.klg.jclass.table.beans.EnumString[] EnumTrackColumn
SBLayoutEditor
public SBLayoutEditor()
- Constructs a SBLayoutEditor editor.
setValue
public void setValue(Object value)
- Sets a new property value.
- Specified by:
setValue
in interface PropertyEditor
- Overrides:
setValue
in class TablePropertyEditor
getValue
public Object getValue()
- Returns the current value of the property.
- Specified by:
getValue
in interface PropertyEditor
getAsText
public String getAsText()
- Returns the current property value as a String instance.
- Specified by:
getAsText
in interface PropertyEditor
getJavaInitializationString
public String getJavaInitializationString()
- Returns a fragment of Java code representing an initializer
for the current value.
- Specified by:
getJavaInitializationString
in interface PropertyEditor
actionPerformed
public void actionPerformed(ActionEvent e)
- Specified by:
actionPerformed
in interface ActionListener
- Overrides:
actionPerformed
in class TablePropertyEditor
focusGained
public void focusGained(FocusEvent e)
- Specified by:
focusGained
in interface FocusListener
- Overrides:
focusGained
in class TablePropertyEditor
focusLost
public void focusLost(FocusEvent e)
- Specified by:
focusLost
in interface FocusListener
- Overrides:
focusLost
in class TablePropertyEditor
itemStateChanged
public void itemStateChanged(ItemEvent e)
- Specified by:
itemStateChanged
in interface ItemListener
- Overrides:
itemStateChanged
in class TablePropertyEditor
makePropertyPanel
protected JComponent makePropertyPanel()
- Specified by:
makePropertyPanel
in class TablePropertyEditor
updatePropertyPanel
protected void updatePropertyPanel(com.klg.jclass.table.JCCellRange c)
- Specified by:
updatePropertyPanel
in class TablePropertyEditor
updateSBLayout
protected void updateSBLayout()
setEnabled
protected void setEnabled()
updateTextField
protected void updateTextField(JTextField text,
int value)