org.netbeans.spi.debugger.ui/1 2.14.1

org.netbeans.spi.debugger.ui
Class AttachType

java.lang.Object
  extended by org.netbeans.spi.debugger.ui.AttachType

public abstract class AttachType
extends Object

Support for "Attach ..." dialog. Represents one type of attaching.


Constructor Summary
AttachType()
           
 
Method Summary
 Controller getController()
          Return the implementation of Controller interface.
In cases when it's not desired to implement Controller interface by the JComponent returned from getCustomizer() method, because of the clash of Controller.isValid() method with Component.isValid(), an explicit implementation can be returned by overriding this method.
abstract  JComponent getCustomizer()
          Returns visual customizer for this Attach Type.
abstract  String getTypeDisplayName()
          Provides display name of this Attach Type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachType

public AttachType()
Method Detail

getTypeDisplayName

public abstract String getTypeDisplayName()
Provides display name of this Attach Type. Is used as one choice in ComboBox.

Returns:
display name of this Attach Type

getCustomizer

public abstract JComponent getCustomizer()
Returns visual customizer for this Attach Type. Customizer can optionally implement Controller interface. In that case please notice the clash of Controller.isValid() method with Component.isValid() and consider extending getController() method in case you need to provide false validity in some cases.

Returns:
visual customizer for this Attach Type

getController

public Controller getController()
Return the implementation of Controller interface.
In cases when it's not desired to implement Controller interface by the JComponent returned from getCustomizer() method, because of the clash of Controller.isValid() method with Component.isValid(), an explicit implementation can be returned by overriding this method. The default implementation returns null, in which case the customizer component is cast to Controller.

Returns:
Controller implementation or null.
Since:
2.14

org.netbeans.spi.debugger.ui/1 2.14.1

Built on November 10 2008.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.