org.eclipse.nebula.widgets.nattable.style.editor
Class CellStyleEditorPanel

java.lang.Object
  extended by org.eclipse.swt.widgets.Widget
      extended by org.eclipse.swt.widgets.Control
          extended by org.eclipse.swt.widgets.Scrollable
              extended by org.eclipse.swt.widgets.Composite
                  extended by org.eclipse.nebula.widgets.nattable.style.editor.AbstractEditorPanel<Style>
                      extended by org.eclipse.nebula.widgets.nattable.style.editor.CellStyleEditorPanel
All Implemented Interfaces:
org.eclipse.swt.graphics.Drawable

public class CellStyleEditorPanel
extends AbstractEditorPanel<Style>

EditorPanel for editing the core style attributes.


Field Summary
 
Fields inherited from class org.eclipse.swt.widgets.Control
view
 
Constructor Summary
CellStyleEditorPanel(org.eclipse.swt.widgets.Composite parent, int style)
           
 
Method Summary
 void edit(Style style)
          Initialize UI widgets to match the initial state of T
 String getEditorName()
          Use friendly name for this editor (used as tab labels).
 Style getNewValue()
          Get the new value of T with the user modifications
 
Methods inherited from class org.eclipse.swt.widgets.Composite
changed, checkSubclass, computeSize, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList
 
Methods inherited from class org.eclipse.swt.widgets.Scrollable
computeTrim, getClientArea, getHorizontalBar, getVerticalBar
 
Methods inherited from class org.eclipse.swt.widgets.Control
addControlListener, addDragDetectListener, addFocusListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTraverseListener, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getParent, getRegion, getShell, getSize, getToolTipText, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTraverseListener, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setParent, setRedraw, setRegion, setSize, setSize, setToolTipText, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, update
 
Methods inherited from class org.eclipse.swt.widgets.Widget
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, setData, setData, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CellStyleEditorPanel

public CellStyleEditorPanel(org.eclipse.swt.widgets.Composite parent,
                            int style)
Method Detail

getEditorName

public String getEditorName()
Description copied from class: AbstractEditorPanel
Use friendly name for this editor (used as tab labels).

Specified by:
getEditorName in class AbstractEditorPanel<Style>

edit

public void edit(Style style)
          throws Exception
Description copied from class: AbstractEditorPanel
Initialize UI widgets to match the initial state of T

Specified by:
edit in class AbstractEditorPanel<Style>
Throws:
Exception

getNewValue

public Style getNewValue()
Description copied from class: AbstractEditorPanel
Get the new value of T with the user modifications

Specified by:
getNewValue in class AbstractEditorPanel<Style>


Copyright © 2015. All rights reserved.