private Component getComponent(final UIComponent uiComponent) { if (uiComponent != null) { SwingComponent swingComponent = uiComponent.getUIComponent(); if (swingComponent != null) { return swingComponent.getComponent(); } } return null; }
@Override public void addKeyListener(final IKeyListener listener) { swingComponentDelegate.addKeyListener(listener); }
@Override public boolean requestFocus() { return swingComponentDelegate.requestFocus(); }
@Override public IPopupMenuSpi createPopupMenu() { return swingComponentDelegate.createPopupMenu(); }
@Override public void redraw() { swingComponentDelegate.redraw(); }
public void setToolTipText(final String toolTip) { swingComponentDelegate.setToolTipText(toolTip); }
@Override public void removeComponentListener(final IComponentListener componentListener) { swingComponentDelegate.removeComponentListener(componentListener); }
@Override public void removeMouseMotionListener(final IMouseMotionListener listener) { swingComponentDelegate.removeMouseMotionListener(listener); }
@Override public boolean isEnabled() { return swingComponentDelegate.isEnabled(); }
@Override public void setEnabled(final boolean enabled) { swingComponentDelegate.setEnabled(enabled); }
@Override public boolean isVisible() { return swingComponentDelegate.isVisible(); }
@Override public void setVisible(final boolean visible) { swingComponentDelegate.setVisible(visible); }
@Override public void setCursor(final Cursor cursor) { swingComponentDelegate.setCursor(cursor); }
@Override public IColorConstant getBackgroundColor() { return swingComponentDelegate.getBackgroundColor(); }
@Override public void setBackgroundColor(final IColorConstant colorValue) { swingComponentDelegate.setBackgroundColor(colorValue); }
@Override public void removeKeyListener(final IKeyListener listener) { swingComponentDelegate.removeKeyListener(listener); }
@Override public void removeMouseListener(final IMouseListener mouseListener) { swingComponentDelegate.removeMouseListener(mouseListener); }
@Override public Dimension getSize() { return swingComponentDelegate.getSize(); }
@Override public void addComponentListener(final IComponentListener componentListener) { swingComponentDelegate.addComponentListener(componentListener); }
@Override public void setSize(final Dimension size) { swingComponentDelegate.setSize(size); }
@Override public void removePopupDetectionListener(final IPopupDetectionListener listener) { swingComponentDelegate.removePopupDetectionListener(listener); }
@Override public Position getPosition() { return swingComponentDelegate.getPosition(); }
public void setContainer(final Container container) { this.container = container; swingComponentDelegate.setComponent(container); }
@Override public void setPosition(final Position position) { swingComponentDelegate.setPosition(position); }