public class ColumnLabels extends ColumnMap<java.lang.Object,java.lang.Object> implements java.awt.datatransfer.ClipboardOwner
Constructor and Description |
---|
ColumnLabels(CoolMapObject object) |
Modifier and Type | Method and Description |
---|---|
void |
activeCellChanged(CoolMapObject obj,
MatrixCell oldCell,
MatrixCell newCell) |
void |
aggregatorUpdated(CoolMapObject object)
possible cause of data update: change base matrix, change view matrix, change rows/columns insert, remove, expand...
|
boolean |
canRender(CoolMapObject coolMapObject) |
void |
clearBuffer() |
void |
columnsChanged(CoolMapObject object) |
void |
coolMapObjectBaseMatrixChanged(CoolMapObject object) |
void |
destroy() |
javax.swing.JComponent |
getConfigUI() |
CoolMapObject<BASE,VIEW> |
getCoolMapObject() |
CoolMapView<BASE,VIEW> |
getCoolMapView() |
org.json.JSONObject |
getCurrentState()
state and be persisted using JSON
|
java.awt.GraphicsConfiguration |
getGraphicsConfiguration() |
javax.swing.ImageIcon |
getIcon() |
java.awt.image.BufferedImage |
getMapBuffer() |
java.awt.Font |
getMessageFont() |
java.lang.String |
getName() |
javax.swing.JPanel |
getViewPanel() |
void |
gridChanged(CoolMapObject object) |
boolean |
isDataViewValid() |
boolean |
isEnabled() |
void |
justifyView() |
void |
lostOwnership(java.awt.datatransfer.Clipboard clipboard,
java.awt.datatransfer.Transferable contents)
Notifies this object that it is no longer the clipboard owner.
|
void |
mapAnchorMoved(CoolMapObject object) |
void |
mapZoomChanged(CoolMapObject object) |
void |
nameChanged(CoolMapObject object) |
void |
postPaint(java.awt.Graphics2D g2D,
CoolMapObject<java.lang.Object,java.lang.Object> obj,
int width,
int height) |
void |
prePaint(java.awt.Graphics2D g2D,
CoolMapObject<java.lang.Object,java.lang.Object> object,
int width,
int height) |
void |
prepareRender(java.awt.Graphics2D g2D) |
protected void |
renderColumn(java.awt.Graphics2D g2D,
CoolMapObject<java.lang.Object,java.lang.Object> object,
VNode node,
int anchorX,
int anchorY,
int cellWidth,
int cellHeight) |
boolean |
restoreState(org.json.JSONObject savedState)
state can be restored from JSON
|
void |
rowsChanged(CoolMapObject object) |
void |
selectionChanged(CoolMapObject object) |
void |
setEnabled(boolean enabled) |
void |
setMapBuffer(java.awt.image.BufferedImage mapBuffer) |
void |
updateBuffer() |
void |
viewFilterChanged(CoolMapObject object) |
void |
viewRendererChanged(CoolMapObject object) |
getAnchorX, getAnchorY, getDirection, initViewPanel, render, translateToCanvas, updateBuffer
public ColumnLabels(CoolMapObject object)
protected void renderColumn(java.awt.Graphics2D g2D, CoolMapObject<java.lang.Object,java.lang.Object> object, VNode node, int anchorX, int anchorY, int cellWidth, int cellHeight)
renderColumn
in class ColumnMap<java.lang.Object,java.lang.Object>
public void prePaint(java.awt.Graphics2D g2D, CoolMapObject<java.lang.Object,java.lang.Object> object, int width, int height)
public void lostOwnership(java.awt.datatransfer.Clipboard clipboard, java.awt.datatransfer.Transferable contents)
lostOwnership
in interface java.awt.datatransfer.ClipboardOwner
clipboard
- the clipboard that is no longer ownedcontents
- the contents which this owner had placed on the clipboardpublic void postPaint(java.awt.Graphics2D g2D, CoolMapObject<java.lang.Object,java.lang.Object> obj, int width, int height)
public boolean canRender(CoolMapObject coolMapObject)
public void justifyView()
justifyView
in interface SideMap<java.lang.Object,java.lang.Object>
public void activeCellChanged(CoolMapObject obj, MatrixCell oldCell, MatrixCell newCell)
activeCellChanged
in interface CViewListener
public void prepareRender(java.awt.Graphics2D g2D)
prepareRender
in interface SideMap<java.lang.Object,java.lang.Object>
public javax.swing.JPanel getViewPanel()
getViewPanel
in interface SideMap<BASE,VIEW>
public java.awt.GraphicsConfiguration getGraphicsConfiguration()
getGraphicsConfiguration
in interface SideMap<BASE,VIEW>
public void setEnabled(boolean enabled)
setEnabled
in interface SideMap<BASE,VIEW>
public java.awt.image.BufferedImage getMapBuffer()
getMapBuffer
in interface SideMap<BASE,VIEW>
public void setMapBuffer(java.awt.image.BufferedImage mapBuffer)
setMapBuffer
in interface SideMap<BASE,VIEW>
public javax.swing.ImageIcon getIcon()
public java.awt.Font getMessageFont()
getMessageFont
in interface SideMap<BASE,VIEW>
public void clearBuffer()
clearBuffer
in interface SideMap<BASE,VIEW>
public CoolMapView<BASE,VIEW> getCoolMapView()
getCoolMapView
in interface SideMap<BASE,VIEW>
public CoolMapObject<BASE,VIEW> getCoolMapObject()
getCoolMapObject
in interface SideMap<BASE,VIEW>
public boolean isDataViewValid()
isDataViewValid
in interface SideMap<BASE,VIEW>
public final void updateBuffer()
updateBuffer
in interface SideMap<BASE,VIEW>
public void selectionChanged(CoolMapObject object)
selectionChanged
in interface CViewListener
public void mapAnchorMoved(CoolMapObject object)
mapAnchorMoved
in interface CViewListener
public void mapZoomChanged(CoolMapObject object)
mapZoomChanged
in interface CViewListener
public void gridChanged(CoolMapObject object)
gridChanged
in interface CViewListener
public void aggregatorUpdated(CoolMapObject object)
CObjectListener
aggregatorUpdated
in interface CObjectListener
public void rowsChanged(CoolMapObject object)
rowsChanged
in interface CObjectListener
public void columnsChanged(CoolMapObject object)
columnsChanged
in interface CObjectListener
public void coolMapObjectBaseMatrixChanged(CoolMapObject object)
coolMapObjectBaseMatrixChanged
in interface CObjectListener
public void viewRendererChanged(CoolMapObject object)
viewRendererChanged
in interface CObjectListener
public void viewFilterChanged(CoolMapObject object)
viewFilterChanged
in interface CObjectListener
public void nameChanged(CoolMapObject object)
nameChanged
in interface CObjectListener
public org.json.JSONObject getCurrentState()
StateSavable
getCurrentState
in interface StateSavable
public boolean restoreState(org.json.JSONObject savedState)
StateSavable
restoreState
in interface StateSavable
public javax.swing.JComponent getConfigUI()
getConfigUI
in interface SideMap<BASE,VIEW>