tvouriot.beans.filelistexplorer
Class FileListExplorerBeanInfo
java.lang.Object
|
+--java.beans.SimpleBeanInfo
|
+--tvouriot.beans.filelistexplorer.FileListExplorerBeanInfo
- All Implemented Interfaces:
- java.beans.BeanInfo
- public class FileListExplorerBeanInfo
- extends java.beans.SimpleBeanInfo
Classe permettant de spécifier explicitement les propriétés, les évènements, les méthodes du bean.
Field Summary |
protected static java.lang.Class |
beanClass
La classe du bean FileListExplorer |
Fields inherited from interface java.beans.BeanInfo |
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32 |
Method Summary |
java.awt.Image |
getIcon(int iconKind)
Retourne l'icône représentant le bean dans une boîte à outils |
java.beans.PropertyDescriptor[] |
getPropertyDescriptors()
Retourne la liste des propriétés éditables.
|
Methods inherited from class java.beans.SimpleBeanInfo |
getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getMethodDescriptors, loadImage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
beanClass
protected static final java.lang.Class beanClass
- La classe du bean
FileListExplorer
FileListExplorerBeanInfo
public FileListExplorerBeanInfo()
getPropertyDescriptors
public java.beans.PropertyDescriptor[] getPropertyDescriptors()
- Retourne la liste des propriétés éditables.
Seules ces propriétés seront visibles dans un IDE.
- Overrides:
getPropertyDescriptors
in class java.beans.SimpleBeanInfo
- Returns:
- tableau des propriétés
getIcon
public java.awt.Image getIcon(int iconKind)
- Retourne l'icône représentant le bean dans une boîte à outils
- Overrides:
getIcon
in class java.beans.SimpleBeanInfo
- Parameters:
iconKind
- type d'îcone (Color,Mono,32X32,16X16,...)- Returns:
- îcone 16x16:
32x32: