Package | Description |
---|---|
info.bioinfweb.tic |
TIC - Tool Independent Components
|
info.bioinfweb.tic.input |
Contains classes providing adapters between mouse and key events from Swing or SWT and TIC.
|
info.bioinfweb.tic.input.component |
Contains classes that allow to forward mouse and key events between different
TICComponent s. |
info.bioinfweb.tic.scrolling |
Contains classes that provide toolkit independent scrolling functionality.
|
info.bioinfweb.tic.toolkit |
Modifier and Type | Method and Description |
---|---|
javax.swing.JComponent |
SwingComponentFactory.getSwingComponent(TICComponent ticComponent,
java.lang.Object... additionalParameters)
Creates the Swing component that will be associated with the specified TIC component if it was
not created before.
|
org.eclipse.swt.widgets.Composite |
SWTComponentFactory.getSWTComponent(TICComponent ticComponent,
org.eclipse.swt.widgets.Composite parent,
int style,
java.lang.Object... additionalParameters)
Creates the SWT component that will be associated with the specified TIC component if it was not
created before.
|
void |
SWTComponentFactory.registerEventForwarders(TICComponent ticComponent,
org.eclipse.swt.widgets.Composite toolkitComponent,
ScrollingTICComponent scrollingComponent)
Registers SWT event forwarders to allow TIC components to receive events.
|
Modifier and Type | Method and Description |
---|---|
TICComponent |
TICListenerSet.getOwner() |
TICComponent |
TICEvent.getSource() |
Modifier and Type | Method and Description |
---|---|
TICEvent |
TICEvent.cloneWithNewSource(TICComponent source)
Creates a copy of this event with all properties set to identical values but with a
different source.
|
TICInputEvent |
TICInputEvent.cloneWithNewSource(TICComponent source) |
TICKeyEvent |
TICKeyEvent.cloneWithNewSource(TICComponent source) |
TICMouseEvent |
TICMouseEvent.cloneWithNewSource(TICComponent source) |
TICMouseWheelEvent |
TICMouseWheelEvent.cloneWithNewSource(TICComponent source) |
TICMouseEvent |
TICMouseEvent.cloneWithNewSourceTranslated(TICComponent source,
int shiftX,
int shiftY)
Creates a copy of this event with all properties set to identical values but with a
different source and shifted x- and y-coordinates.
|
TICMouseWheelEvent |
TICMouseWheelEvent.cloneWithNewSourceTranslated(TICComponent source,
int offsetX,
int offsetY) |
Constructor and Description |
---|
TICEvent(TICComponent source) |
TICInputEvent(TICComponent source,
int id,
long time,
int modifiers)
Creates a new instance of this class.
|
TICKeyEvent(TICComponent source,
int id,
long time,
int modifiers,
int keyCode,
int keyLocation,
char keyCharacter) |
TICListenerSet(TICComponent owner) |
TICMouseEvent(TICComponent source,
int id,
long time,
int modifiers,
int button,
int clickCount,
boolean popupTrigger,
int componentX,
int componentY) |
TICMouseWheelEvent(TICComponent source,
int id,
long time,
int modifiers,
int button,
int clickCount,
boolean popupTrigger,
int componentX,
int componentY,
int wheelRotation,
double preciseWheelRotation) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<TICComponent> |
AbstractEventComponentForwarder.getComponents() |
Constructor and Description |
---|
AbstractEventComponentForwarder(java.util.Set<TICComponent> components) |
TICKeyEventComponentForwarder(java.util.Set<TICComponent> components) |
TICMouseEventComponentForwarder(java.util.Set<TICComponent> components) |
TICMouseWheelEventComponentForwarder(java.util.Set<TICComponent> components) |
Modifier and Type | Class and Description |
---|---|
class |
ScrollingTICComponent
All TIC components that contain scrolled content should be inherited from this class.
|
Modifier and Type | Method and Description |
---|---|
TICComponent |
ToolkitComponent.getIndependentComponent()
Returns the
TICComponent that is displayed by this GUI element. |
TICComponent |
AbstractSwingComponent.getIndependentComponent() |
TICComponent |
AbstractSWTComposite.getIndependentComponent() |
TICComponent |
AbstractSWTWidget.getIndependentComponent() |
protected TICComponent |
DefaultSWTComposite.getOutputComponent()
This method may be overwritten be inherited classes to paint a TIC component that is not
the associated independent component, e.g.
|
TICComponent |
DirectPaintingSWTScrollContainer.getOutputComponent()
Overwrites the method in
DefaultSWTComposite to make sure that the output component and not
the associated independent component is used to paint. |
Constructor and Description |
---|
AbstractSwingComponent(TICComponent ticComponent) |
AbstractSWTComposite(TICComponent ticComponent,
org.eclipse.swt.widgets.Composite parent,
int style) |
AbstractSWTWidget(TICComponent ticComponent,
org.eclipse.swt.widgets.Composite parent,
int style) |
DefaultSwingComponent(TICComponent ticComponent) |
DefaultSWTComposite(TICComponent ticComponent,
org.eclipse.swt.widgets.Composite parent,
int style) |
DirectPaintingSWTScrollContainer(ScrollingTICComponent ticComponent,
org.eclipse.swt.widgets.Composite parent,
int style,
TICComponent outputComponent)
Creates a new instance of this class that forwards key and mouse events to
outputComponent . |