public final class ActionTemplate extends BasicTemplate
The tip can also optionally contain an icon, title, detail area (simple label or custom component).
contentACTION_CLOSE_INFOTIP_CMD, ACTION_REMOVE_TEMPLATE_CMD, ACTION_SIZE_CHANGED_CMD| Constructor and Description | 
|---|
ActionTemplate(javax.swing.Icon icon,
              java.lang.String title,
              javax.swing.JComponent detailComponent,
              javax.swing.Action action)
Construct an default style action infotip template with the following details. 
 | 
ActionTemplate(javax.swing.Icon icon,
              java.lang.String title,
              javax.swing.JComponent detailComponent,
              javax.swing.Action action,
              InfoTipStyles infoTipStyle)
Construct an infotip template with the following details. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
javax.swing.JComponent | 
getContent()  | 
addActionListener, fireActionPerformed, removeActionListenerpublic ActionTemplate(javax.swing.Icon icon,
                      java.lang.String title,
                      javax.swing.JComponent detailComponent,
                      javax.swing.Action action)
icon - an icon to display next to the titletitle - the titledetailComponent - an explanation, or additional information component for this tip.action - the action displayed in the tip, the user can click on it to perform it.public ActionTemplate(javax.swing.Icon icon,
                      java.lang.String title,
                      javax.swing.JComponent detailComponent,
                      javax.swing.Action action,
                      InfoTipStyles infoTipStyle)
icon - an icon to display next to the titletitle - the titledetailComponent - an explanation, or additional information component for this tip.action - the action displayed in the tip, the user can click on it to perform it.infoTipStyle - the info tip style.public javax.swing.JComponent getContent()
getContent in interface TemplategetContent in class BasicTemplate