public class DesignerCComboBox extends DesignerControlAdapter
Constructor and Description |
---|
DesignerCComboBox() |
Modifier and Type | Method and Description |
---|---|
JComponent |
createComponent(PanelDesignerControl controller,
PhantomFile data)
Creates the component with the specified data.
|
int |
getControlSBSize(PanelDesignerControl controller,
int cx,
int cy)
Gets the size of the scroll-bar enabled part of the control.
|
void |
prePaint(PanelDesignerControl controller,
Graphics2D g,
JComponent c,
int cx,
int cy)
Performs a pre-paint.
|
void |
setBounds(PanelDesignerControl controller,
JComponent c,
int x,
int y,
int cx,
int cy)
Sets the bounds of the component.
|
createComponent, getText, isSupported, needsImmediateCreation, onDestroy, onImageUpdate, onMouse, onTurnPage, onWindowPositionChanging, postPaint, setText, wantMouseMessages
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 void setBounds(PanelDesignerControl controller, JComponent c, int x, int y, int cx, int cy)
setBounds
in interface IDesignerControl
setBounds
in class DesignerControlAdapter
public int getControlSBSize(PanelDesignerControl controller, int cx, int cy)
getControlSBSize
in interface IDesignerControl
getControlSBSize
in class DesignerControlAdapter
cx
- The current width.cy
- The current height.public void prePaint(PanelDesignerControl controller, Graphics2D g, JComponent c, int cx, int cy)
prePaint
in interface IDesignerControl
prePaint
in class DesignerControlAdapter
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.