com.esri.arcgis.addinframework
Class InternalButtonComponentTip

java.lang.Object
  extended by com.esri.arcgis.addinframework.AddIn
      extended by com.esri.arcgis.addinframework.InternalButton
          extended by com.esri.arcgis.addinframework.InternalButtonComponentTip
All Implemented Interfaces:
ICommand, IComponentTip, Serializable

public class InternalButtonComponentTip
extends InternalButton
implements IComponentTip

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.systemUI.IComponentTip
IID, IIDfd86ed38_01c7_4a41_a72c_5502031aa216, xxDummy
 
Constructor Summary
InternalButtonComponentTip()
           
 
Method Summary
 String getHeading()
          Heading for Tip.
 int getImage()
          The image for the Tip.
 String getTip()
          The body of text of the tip.
 void setParameters(IAddInRecord record, IFactoryHook factoryHook)
           
 
Methods inherited from class com.esri.arcgis.addinframework.InternalButton
init, isChecked, isEnabled, onClick, seed
 
Methods inherited from class com.esri.arcgis.addinframework.AddIn
getApp, nativeGetPictureFromIStream, nativeGetPictureFromStream, read, readCursorFromStream, readPictureFromIStream, readPictureFromStream, readSubnode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.systemUI.ICommand
getBitmap, getCaption, getCategory, getHelpContextID, getHelpFile, getMessage, getName, getTooltip, onCreate
 

Constructor Detail

InternalButtonComponentTip

public InternalButtonComponentTip()
Method Detail

setParameters

public void setParameters(IAddInRecord record,
                          IFactoryHook factoryHook)
Overrides:
setParameters in class InternalButton

getHeading

public String getHeading()
                  throws IOException,
                         AutomationException
Heading for Tip.

Specified by:
getHeading in interface IComponentTip
Returns:
The heading
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getImage

public int getImage()
             throws IOException,
                    AutomationException
The image for the Tip.

Specified by:
getImage in interface IComponentTip
Returns:
The image (A COM typedef)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTip

public String getTip()
              throws IOException,
                     AutomationException
The body of text of the tip.

Specified by:
getTip in interface IComponentTip
Returns:
The tip
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.