public class FileTemplateGroupDescriptor extends FileTemplateDescriptor
Constructor and Description |
---|
FileTemplateGroupDescriptor(java.lang.String title,
javax.swing.Icon icon) |
FileTemplateGroupDescriptor(java.lang.String title,
javax.swing.Icon icon,
FileTemplateDescriptor... children) |
Modifier and Type | Method and Description |
---|---|
void |
addTemplate(FileTemplateDescriptor descriptor) |
void |
addTemplate(java.lang.String fileName) |
java.lang.String |
getDisplayName() |
FileTemplateDescriptor[] |
getTemplates() |
java.lang.String |
getTitle() |
getFileName, getIcon
public FileTemplateGroupDescriptor(java.lang.String title, javax.swing.Icon icon, FileTemplateDescriptor... children)
public FileTemplateGroupDescriptor(java.lang.String title, javax.swing.Icon icon)
public java.lang.String getTitle()
public FileTemplateDescriptor[] getTemplates()
public java.lang.String getDisplayName()
getDisplayName
in class FileTemplateDescriptor
public void addTemplate(FileTemplateDescriptor descriptor)
public void addTemplate(java.lang.String fileName)