List of usage examples for javax.swing AbstractButton getName
public String getName()
From source file:org.colombbus.tangara.commons.resinject.ClassResourceImpl.java
@Override public void inject(AbstractButton button) { String key = button.getName(); Validate.notEmpty(key, "button argument has no name"); //$NON-NLS-1$ AbstractButtonInjecter injecter = new AbstractButtonInjecter(); injecter.setClassResource(this); injecter.setKey(key);//from w w w . j a v a 2s . co m injecter.setButton(button); injecter.inject(); }