|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Control
org.eclipse.swt.widgets.Scrollable
org.eclipse.swt.widgets.Composite
com.tensegrity.gui.swt.repository.SwtRepositoryItemPanel
TODO SG: Comment
| Field Summary |
| Fields inherited from class org.eclipse.swt.widgets.Control |
handle |
| Constructor Summary | |
SwtRepositoryItemPanel(org.eclipse.swt.widgets.Composite mainContainer)
Initializes a repository item panel in an swt context with 4 columns. |
|
SwtRepositoryItemPanel(int initialColumns,
org.eclipse.swt.widgets.Composite mainContainer)
Initializes a repository item panel in an swt context with initialColumns
columns, 0 horizontal gap, 0 vertical gap, and 32 by 32 icon size.
|
|
SwtRepositoryItemPanel(int horizontalgap,
int verticalgap,
org.eclipse.swt.widgets.Composite mainContainer)
Initializes a repository item panel in an swt context with 4 columns, horizontalgap horizontal gap, verticalgap
vertical gap, and 32 by 32 icon size.
|
|
SwtRepositoryItemPanel(int initialColumns,
int horizontalgap,
int verticalgap,
int iconwidth,
int iconheight,
org.eclipse.swt.widgets.Composite mainContainer)
Initializes a repository item panel in an swt context with initialColumns
columns, horizontalgap horizontal gap, verticalgap
vertical gap, and iconwidth by iconheight
icon size.
|
|
| Method Summary | |
boolean |
addControl(org.eclipse.swt.widgets.Control control)
TODO SG: Comment method |
void |
dispose()
|
void |
setHorizontalSpacing(int hSpacing)
Sets the horizontal spacing between the items |
void |
setItemHeight(int height)
Sets the height of the items in this panel. |
void |
setItemWidth(int width)
Sets the width of the items in this panel. |
void |
setVerticalSpacing(int vSpacing)
Sets the vertical spacing between the items |
| Methods inherited from class org.eclipse.swt.widgets.Composite |
checkSubclass, computeSize, getChildren, getLayout, getTabList, layout, layout, setFocus, setLayout, setTabList |
| Methods inherited from class org.eclipse.swt.widgets.Scrollable |
computeTrim, getClientArea, getHorizontalBar, getVerticalBar |
| Methods inherited from class org.eclipse.swt.widgets.Control |
addControlListener, addFocusListener, addHelpListener, addKeyListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addPaintListener, addTraverseListener, computeSize, forceFocus, getAccessible, getBackground, getBorderWidth, getBounds, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getParent, getShell, getSize, getToolTipText, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, redraw, redraw, removeControlListener, removeFocusListener, removeHelpListener, removeKeyListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removePaintListener, removeTraverseListener, setBackground, setBounds, setBounds, setCapture, setCursor, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setParent, setRedraw, setSize, setSize, setToolTipText, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, update |
| Methods inherited from class org.eclipse.swt.widgets.Widget |
addDisposeListener, addListener, checkWidget, getData, getData, getDisplay, 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 |
public SwtRepositoryItemPanel(org.eclipse.swt.widgets.Composite mainContainer)
Initializes a repository item panel in an swt context with 4 columns.
mainContainer - This panel's parent container.SwtRepositoryItemPanel(int, Composite)
public SwtRepositoryItemPanel(int initialColumns,
org.eclipse.swt.widgets.Composite mainContainer)
Initializes a repository item panel in an swt context with initialColumns
columns, 0 horizontal gap, 0 vertical gap, and 32 by 32 icon size.
initialColumns - number of initialcolumns.mainContainer - This panel's parent container.SwtRepositoryItemPanel(int, int, int, int, int, Composite)
public SwtRepositoryItemPanel(int horizontalgap,
int verticalgap,
org.eclipse.swt.widgets.Composite mainContainer)
Initializes a repository item panel in an swt context with 4 columns,
horizontalgap horizontal gap, verticalgap
vertical gap, and 32 by 32 icon size.
horizontalgap - the horizontal gap between the icons.verticalgap - the vertical gap between the icons.mainContainer - This panel's parent container.SwtRepositoryItemPanel(int, int, int, int, int, Composite)
public SwtRepositoryItemPanel(int initialColumns,
int horizontalgap,
int verticalgap,
int iconwidth,
int iconheight,
org.eclipse.swt.widgets.Composite mainContainer)
Initializes a repository item panel in an swt context with initialColumns
columns, horizontalgap horizontal gap, verticalgap
vertical gap, and iconwidth by iconheight
icon size.
initialColumns - number of initialcolumns.horizontalgap - the horizontal gap between the icons.verticalgap - the vertical gap between the icons.iconwidth - the reference iconwidthiconheight - the reference iconheightmainContainer - This panel's parent container.| Method Detail |
public boolean addControl(org.eclipse.swt.widgets.Control control)
TODO SG: Comment method
public void dispose()
Widget.dispose()public void setHorizontalSpacing(int hSpacing)
hSpacing - the horizontal spacing between the itemspublic void setVerticalSpacing(int vSpacing)
vSpacing - the vertical spacing between the itemspublic void setItemWidth(int width)
width - the width of the items in this panel.public void setItemHeight(int height)
height - the height of the items in this panel.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||