public class DesignerCListBox extends DesignerControlAdapter
Constructor and Description |
---|
DesignerCListBox() |
Modifier and Type | Method and Description |
---|---|
JComponent |
createComponent(PanelDesignerControl controller,
PhantomFile data)
Creates the component with the specified data.
|
int |
onMouse(PanelDesignerControl controller,
int operation,
int x,
int y)
The method called from JNI.
|
boolean |
wantMouseMessages()
Checks if this implementor wants mouse messages.
|
createComponent, getControlSBSize, getText, isSupported, needsImmediateCreation, onDestroy, onImageUpdate, onTurnPage, onWindowPositionChanging, postPaint, prePaint, setBounds, setText
public JComponent createComponent(PanelDesignerControl controller, PhantomFile data) throws IOException
createComponent
in class DesignerControlAdapter
controller
- The controller.data
- The in-memory control data.IOException
- For file errors.public boolean wantMouseMessages()
wantMouseMessages
in interface IDesignerControl
wantMouseMessages
in class DesignerControlAdapter
public int onMouse(PanelDesignerControl controller, int operation, int x, int y)
onMouse
in interface IDesignerControl
onMouse
in class DesignerControlAdapter
operation
- Mouse operation: MOUSEMOVE, BUTTONDOWN, BUTTONUP, BUTTONDBLCLK or CAPTURECHANGED.x
- Mouse position X relative the window.y
- Mouse position Y relative the window.controller
- The controller.Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.