V
- is value type for data we showC
- is "container" type that would be used/reused for displaying datapublic class PreviewInfo<V,C>
extends java.lang.Object
Constructor and Description |
---|
PreviewInfo(PreviewPanelProvider<V,C> provider,
V data) |
Modifier and Type | Method and Description |
---|---|
static <V,C> PreviewInfo<V,C> |
create(PreviewPanelProvider<V,C> provider,
V data) |
boolean |
equals(java.lang.Object obj) |
javax.swing.JComponent |
getComponent() |
V |
getData() |
javax.swing.Icon |
getIcon() |
PreviewProviderId<V,C> |
getId() |
PreviewPanelProvider<V,C> |
getProvider() |
java.lang.String |
getTitle() |
int |
hashCode() |
C |
initComponent(boolean requestFocus) |
boolean |
isModified(boolean beforeReuse) |
void |
release() |
boolean |
supportsStandardPlace() |
public PreviewInfo(PreviewPanelProvider<V,C> provider, V data)
public static <V,C> PreviewInfo<V,C> create(PreviewPanelProvider<V,C> provider, V data)
public PreviewProviderId<V,C> getId()
public javax.swing.JComponent getComponent()
public java.lang.String getTitle()
public javax.swing.Icon getIcon()
public PreviewPanelProvider<V,C> getProvider()
public V getData()
public C initComponent(boolean requestFocus)
public boolean isModified(boolean beforeReuse)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public void release()
public boolean supportsStandardPlace()