T - public abstract class AbstractJViewer<T> extends java.lang.Object implements JViewer<T>
| Modifier and Type | Field and Description |
|---|---|
protected static Logger |
LOGGER |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractJViewer(ViewerFactory<T> factory) |
| Modifier and Type | Method and Description |
|---|---|
void |
clean() |
byte[] |
getBytes() |
T |
getContents() |
ViewerFactory |
getFactory() |
java.lang.String |
getMimetype() |
boolean |
isEditable() |
boolean |
isEnabled() |
boolean |
isModified() |
void |
setContents(T data) |
void |
setEditable(boolean editable) |
void |
setEnabled(boolean enabled) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasJComponentprotected AbstractJViewer(ViewerFactory<T> factory)
public void setContents(T data)
setContents in interface JViewer<T>public T getContents()
getContents in interface JViewer<T>public void setEditable(boolean editable)
setEditable in interface JViewer<T>public void setEnabled(boolean enabled)
setEnabled in interface JViewer<T>public boolean isModified()
isModified in interface JViewer<T>public boolean isEditable()
isEditable in interface JViewer<T>public java.lang.String getMimetype()
getMimetype in interface JViewer<T>public ViewerFactory getFactory()
getFactory in interface JViewer<T>