22 |
|
|
23 |
package org.jsampler.view; |
package org.jsampler.view; |
24 |
|
|
|
import javax.swing.Icon; |
|
|
|
|
25 |
/** |
/** |
26 |
* Provides UI information for instruments database trees. |
* Provides UI information for instruments database trees. |
27 |
* @author Grigor Iliev |
* @author Grigor Iliev |
28 |
*/ |
*/ |
29 |
public interface InstrumentsDbTreeView { |
public interface InstrumentsDbTreeView<I> { |
30 |
/** Gets the icon used to represent the root node. */ |
/** Gets the icon used to represent the root node. */ |
31 |
public Icon getRootIcon(); |
public I getRootIcon(); |
32 |
|
|
33 |
/** Returns the icon used to represent non-leaf nodes that are not expanded. */ |
/** Returns the icon used to represent non-leaf nodes that are not expanded. */ |
34 |
public Icon getClosedIcon(); |
public I getClosedIcon(); |
35 |
|
|
36 |
/** Returns the icon used to represent non-leaf nodes that are expanded. */ |
/** Returns the icon used to represent non-leaf nodes that are expanded. */ |
37 |
public Icon getOpenIcon(); |
public I getOpenIcon(); |
38 |
|
|
39 |
/** Gets the default instrument icon. */ |
/** Gets the default instrument icon. */ |
40 |
public Icon getInstrumentIcon(); |
public I getInstrumentIcon(); |
41 |
|
|
42 |
/** Gets the icon used for representing GigaSamppler instruments. */ |
/** Gets the icon used for representing GigaSamppler instruments. */ |
43 |
public Icon getGigInstrumentIcon(); |
public I getGigInstrumentIcon(); |
44 |
} |
} |