public class DesignerCNoteBook extends DesignerControlAdapter
| Constructor and Description |
|---|
DesignerCNoteBook() |
| 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 when the implementation wants mouse messages.
|
void |
onTurnPage(PanelDesignerControl controller,
int page)
Called when the JNI notebook turns page.
|
void |
prePaint(PanelDesignerControl controller,
Graphics2D g,
JComponent c,
int cx,
int cy)
Performs a pre-paint: set the view port.
|
boolean |
wantMouseMessages()
Indicates notebook wants mouse messages.
|
createComponent, getControlSBSize, getText, isSupported, needsImmediateCreation, onDestroy, onImageUpdate, onWindowPositionChanging, postPaint, setBounds, setTextpublic JComponent createComponent(PanelDesignerControl controller, PhantomFile data) throws IOException
createComponent in class DesignerControlAdaptercontroller - The controller.data - The in-memory control data.IOException - For file errors.public void prePaint(PanelDesignerControl controller, Graphics2D g, JComponent c, int cx, int cy)
prePaint in interface IDesignerControlprePaint in class DesignerControlAdapterpublic boolean wantMouseMessages()
wantMouseMessages in interface IDesignerControlwantMouseMessages in class DesignerControlAdapterpublic int onMouse(PanelDesignerControl controller, int operation, int x, int y)
onMouse in interface IDesignerControlonMouse in class DesignerControlAdaptercontroller - The controller.operation - Mouse operation: MOUSEMOVE, BUTTONDOWN, BUTTONUP, BUTTONDBLCLK or CAPTURECHANGED.x - Mouse position X relative the window.y - Mouse position Y relative the window.public void onTurnPage(PanelDesignerControl controller, int page)
onTurnPage in interface IDesignerControlonTurnPage in class DesignerControlAdapterPhantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.