public class DesignerCUserWindow extends DesignerControlAdapter
| Modifier and Type | Field and Description |
|---|---|
static String[] |
TYPES
Predefined types (index-1).
|
| Constructor and Description |
|---|
DesignerCUserWindow() |
| Modifier and Type | Method and Description |
|---|---|
JComponent |
createComponent(PanelDesignerControl controller,
PhantomFile data,
Object previousAttachment)
Creates the component with the specified data.
|
boolean |
needsImmediateCreation(byte[] data)
Checks if component needs immediate creation in the Win32 thread.
|
void |
onDestroy(PanelDesignerControl controller)
Called when destroyed.
|
void |
prePaint(PanelDesignerControl controller,
Graphics2D g,
JComponent c,
int cx,
int cy)
Performs a pre-paint.
|
boolean |
setText(PanelDesignerControl controller,
String text)
Sets the text of the component if possible.
|
createComponent, getControlSBSize, getText, isSupported, onImageUpdate, onMouse, onTurnPage, onWindowPositionChanging, postPaint, setBounds, wantMouseMessagespublic static String[] TYPES
public boolean needsImmediateCreation(byte[] data)
needsImmediateCreation in interface IDesignerControlneedsImmediateCreation in class DesignerControlAdapterpublic JComponent createComponent(PanelDesignerControl controller, PhantomFile data, Object previousAttachment) throws IOException
createComponent in interface IDesignerControlcreateComponent in class DesignerControlAdaptercontroller - The controller.data - The in-memory control data.previousAttachment - The previous attachment if non-null.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 setText(PanelDesignerControl controller, String text)
setText in interface IDesignerControlsetText in class DesignerControlAdapterpublic void onDestroy(PanelDesignerControl controller)
onDestroy in interface IDesignerControlonDestroy in class DesignerControlAdapterPhantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.