/** * Gets the {@link Component} on which this icon is painted. * @return the component, not <code>null</code> */ public JComponent getParent(){ if( parent == null ){ return null; } return parent.getItem(); }
/** * Gets the {@link Component} on which this icon is painted. * @return the component, not <code>null</code> */ public JComponent getParent(){ if( parent == null ){ return null; } return parent.getItem(); }
public A getItem() { return delegate.getItem(); }