|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.JPanel com.dlsc.flexgantt.swing.timeline.Dateline
public class Dateline
The dateline is one part of the timeline (the Eventline
is the other)
and responsible for displaying dates. A date can be based on a standard time
granularity such as hours, minutes, seconds. It can also just be time units
such as one, two, three, etc...
IDatelineRenderer
that can be mapped
to model classes. This way different renderers can be used for different
dateline models. The dateline is divided into an upper and a lower part.
The upper part shows major time units, the lower part shows minor time units.
An example for a major time unit is week. The matching minor time
unit would be day.
setDatelineRenderer(Class, IDatelineRenderer)
,
Serialized FormNested Class Summary | |
---|---|
static class |
Dateline.ZoomStrategy
The zoom strategy defines how the zoom operation will be performed. |
Nested classes/interfaces inherited from class javax.swing.JPanel |
---|
javax.swing.JPanel.AccessibleJPanel |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
javax.swing.JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
java.awt.Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary | |
---|---|
static java.lang.String |
PROPERTY_FOCUSED_TIME_SPAN
A constant used for property change events that get fired when the focused time span changes. |
static java.lang.String |
PROPERTY_MODEL
A constant used for property change events that get fired when the dateline model changes. |
static java.lang.String |
PROPERTY_POLICY_PROVIDER
A constant used for property change events that get fired when the policy provider changes. |
static java.lang.String |
PROPERTY_SELECTION_BACKGROUND_COLOR
A constant used for property change events that get fired when the selection background color changes. |
static java.lang.String |
PROPERTY_SELECTION_FOREGROUND_COLOR
A constant used for property change events that get fired when the selection foreground color changes. |
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
Dateline(Timeline timeline)
Constructs a new dateline that uses the dateline model implementation TimeGranularityDatelineModel as its default model. |
Method Summary | ||
---|---|---|
void |
calendarChanged(CalendarModelEvent evt)
Listener callback method that gets invoked whenever the calendar model changes. |
|
void |
datelineModelChanged(DatelineModelEvent e)
The listener's callback method that gets invoked when the model's time span or time zone changes. |
|
void |
datelineModelWillChange(DatelineModelEvent evt)
The listener's callback method that gets invoked when the model's time span or time zone will change. |
|
IDatelineRenderer |
getDatelineRenderer()
Returns the currently used dateline renderer. |
|
|
getDatelineRenderer(java.lang.Class<T> modelClass)
Returns a dateline renderer for the given model type. |
|
ITimeSpan |
getFocusedTimeSpan()
Returns the currently focused time span. |
|
IGranularity |
getGranularity()
Returns the time granularity that the dateline model should use for calculating its minor grid. |
|
java.awt.Color |
getGridColor()
Returns the color used by the dateline to draw its grid lines. |
|
java.awt.Color |
getManualZoomColor()
Returns the color used to draw the manual zoom rectangle. |
|
IDatelineMenuProvider |
getMenuProvider()
Returns the menu provider for the dateline. |
|
IDatelineModel |
getModel()
Sets the model used by the dateline to convert time points to coordinates and coordinates to time points. |
|
IPolicyProvider |
getPolicyProvider()
Returns the dateline's policy provider. |
|
java.awt.Dimension |
getPreferredSize()
|
|
java.util.Map<java.lang.Class<? extends IDatelineModel>,IDatelineRenderer> |
getRendererMap()
Returns the map used to store the mappings between dateline model classes and dateline renderers. |
|
ITimeSpan |
getSelectedTimeSpan()
Returns the selected time span. |
|
java.awt.Color |
getSelectionBackground()
Returns the selection background color. |
|
java.awt.Color |
getSelectionForegroundColor()
Returns the selection foreground color. |
|
long |
getTimeAt(int x)
Returns the time in millis at the given x-coordinate (location). |
|
Timeline |
getTimeline()
Returns the parent timeline container of which the dateline is a member. |
|
int |
getTimeLocation(long time)
Returns the location of the given time point. |
|
ITimeSpan |
getTimeSpan()
Returns the time span represented by the dateline. |
|
ITimeSpan |
getTimeSpanAt(int x,
boolean major)
Returns the time span in which the given x-coordinate is located. |
|
java.util.TimeZone |
getTimeZone()
Returns the time zone represented by the dateline. |
|
ITimeSpan |
getVisibleTimeSpan()
Returns the currently visible time span. |
|
Dateline.ZoomStrategy |
getZoomStrategy()
Returns the currently used zoom strategy. |
|
boolean |
isManualZoomEnabled()
Determines if the manual zoom feature is enabled. |
|
void |
mouseClicked(java.awt.event.MouseEvent e)
|
|
void |
mouseDragged(java.awt.event.MouseEvent e)
|
|
void |
mouseEntered(java.awt.event.MouseEvent e)
|
|
void |
mouseExited(java.awt.event.MouseEvent e)
|
|
void |
mouseMoved(java.awt.event.MouseEvent e)
|
|
void |
mousePressed(java.awt.event.MouseEvent e)
|
|
void |
mouseReleased(java.awt.event.MouseEvent e)
|
|
void |
mouseWheelMoved(java.awt.event.MouseWheelEvent evt)
|
|
void |
openGotoSelection(javax.swing.JComponent parentComponent)
Opens a selector that will allow the user to select a timepoint to which the dateline will scroll. |
|
void |
openHorizonSelector(javax.swing.JComponent parentComponent)
Opens the UI component used to select a time span for display by the timeline. |
|
protected void |
paintCell(java.awt.Graphics g,
ITimeSpan span,
int x,
int y,
int width,
int height,
boolean major,
boolean focus)
Draws the content of a single time span cell. |
|
protected void |
paintComponent(java.awt.Graphics g)
|
|
protected void |
paintGrid(java.awt.Graphics g)
Paints the major and minor grid lines. |
|
protected void |
paintGrid(java.awt.Graphics g,
int y,
int height,
java.util.List<GridLine> grid,
boolean major)
Paints the given grid lines. |
|
protected void |
paintSelectedTimeSpan(java.awt.Graphics g)
Paints the time span selection. |
|
protected void |
paintZoomRectangle(java.awt.Graphics g,
java.awt.Rectangle rect)
Draws the rectangle used to visualize an ongoing manual zoom operation, where the user drags a grid line in order to manipulate the dateline model's zoom variable. |
|
void |
propertyChange(java.beans.PropertyChangeEvent evt)
|
|
void |
requestVisibleTimeSpan(ITimeSpan span)
Requests that the given time span will be made visible. |
|
|
setDatelineRenderer(java.lang.Class<T> modelClass,
IDatelineRenderer<T> renderer)
Specifies a dateline renderer implementation that will be used to draw the dateline if the dateline's model is of the given model type. |
|
void |
setFocusedTimeSpan(ITimeSpan span)
Sets a new time span as the 'focused' time span. |
|
void |
setGranularity(IGranularity granularity)
Specifies the time granularity that the dateline model should use for calculating its minor grid. |
|
void |
setGridColor(java.awt.Color color)
Sets the color used by the dateline to draw its grid lines. |
|
void |
setManualZoomColor(java.awt.Color color)
Sets the color used to draw the manual zoom rectangle. |
|
void |
setManualZoomEnabled(boolean enabled)
Specifies if the manual zoom feature is enabled. |
|
void |
setMenuProvider(IDatelineMenuProvider provider)
Sets the menu provider for the dateline. |
|
void |
setModel(IDatelineModel model)
Sets the model used by the dateline to convert time points to coordinates and coordinates to time points. |
|
void |
setPolicyProvider(IPolicyProvider provider)
Changes the dateline's policy provider. |
|
void |
setRendererMap(java.util.Map<java.lang.Class<? extends IDatelineModel>,IDatelineRenderer> map)
Sets the map used to store the mappings between dateline model classes and dateline renderers. |
|
void |
setSelectedTimeSpan(ITimeSpan span)
Sets the selected time span. |
|
void |
setSelectionBackground(java.awt.Color color)
Sets the selection background color. |
|
void |
setSelectionForegroundColor(java.awt.Color color)
Sets the selection foreground color. |
|
void |
setTimeSpan(ITimeSpan span)
Sets the time span represented by the dateline. |
|
void |
setTimeZone(java.util.TimeZone timeZone)
Sets a new time zone shown by the dateline. |
|
void |
setZoomStrategy(Dateline.ZoomStrategy strategy)
Sets the currently used zoom strategy. |
|
void |
zoomIn()
Zooms into the dateline. |
|
void |
zoomOut()
Zooms out of the dateline. |
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class javax.swing.JComponent |
---|
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
Methods inherited from class java.awt.Container |
---|
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
Methods inherited from class java.awt.Component |
---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PROPERTY_MODEL
setModel(IDatelineModel)
,
Constant Field Valuespublic static final java.lang.String PROPERTY_SELECTION_FOREGROUND_COLOR
setSelectionForegroundColor(Color)
,
Constant Field Valuespublic static final java.lang.String PROPERTY_SELECTION_BACKGROUND_COLOR
setSelectionBackground(Color)
,
Constant Field Valuespublic static final java.lang.String PROPERTY_POLICY_PROVIDER
setSelectionBackground(Color)
,
Constant Field Valuespublic static final java.lang.String PROPERTY_FOCUSED_TIME_SPAN
setFocusedTimeSpan(ITimeSpan)
,
Constant Field ValuesConstructor Detail |
---|
public Dateline(Timeline timeline)
TimeGranularityDatelineModel
as its default model. The dateline
registers renderers for the TimeGranularityDatelineModel
and the
SimpleGranularityDatelineModel
(TimeGranularityDatelineRenderer
,
SimpleGranularityDatelineRenderer
).
timeline
- the timeline that contains the datelineMethod Detail |
---|
public IPolicyProvider getPolicyProvider()
public void setPolicyProvider(IPolicyProvider provider)
PROPERTY_POLICY_PROVIDER
.
provider
- the new policy providergetPolicyProvider()
public void setModel(IDatelineModel model)
PROPERTY_MODEL
.
model
- getModel()
,
SimpleGranularityDatelineModel
,
TimeGranularityDatelineModel
public IDatelineModel getModel()
setModel(IDatelineModel)
public <T extends IDatelineModel> void setDatelineRenderer(java.lang.Class<T> modelClass, IDatelineRenderer<T> renderer)
T
- the type of the dateline modelmodelClass
- the model class to which the renderer gets mappedrenderer
- the renderer to use for the given modelgetDatelineRenderer()
,
TimeGranularityDatelineModel
,
TimeGranularityDatelineRenderer
,
SimpleGranularityDatelineModel
,
SimpleGranularityDatelineRenderer
public <T extends IDatelineModel> IDatelineRenderer<T> getDatelineRenderer(java.lang.Class<T> modelClass)
T
- the type of the modelmodelClass
- the model class
public Timeline getTimeline()
public java.util.TimeZone getTimeZone()
IDatelineModel.getTimeZone()
.
setTimeZone(TimeZone)
public void setTimeZone(java.util.TimeZone timeZone)
IDatelineModel.setTimeZone(TimeZone)
.
timeZone
- the new time zone to usegetTimeZone()
public IDatelineRenderer getDatelineRenderer()
setDatelineRenderer(Class, IDatelineRenderer)
,
getDatelineRenderer(Class)
public void zoomIn()
IDatelineModel.requestVisibleTimeSpan(ITimeSpan)
.
zoomOut()
public void zoomOut()
IDatelineModel.requestVisibleTimeSpan(ITimeSpan)
.
zoomOut()
public void setSelectedTimeSpan(ITimeSpan span)
span
- the selected time spanpublic ITimeSpan getSelectedTimeSpan()
public int getTimeLocation(long time)
IDatelineModel.getTimeLocation(long)
.
time
- the time for which to return an x-coordinate
getTimeAt(int)
public ITimeSpan getTimeSpan()
IDatelineModel.getTimeSpan()
.
setTimeSpan(ITimeSpan)
public void setGranularity(IGranularity granularity)
granularity
- the granularity requested for the minor time gridpublic IGranularity getGranularity()
public void setTimeSpan(ITimeSpan span)
IDatelineModel.setTimeSpan(ITimeSpan)
.
span
- the dateline's horizongetTimeSpan()
public long getTimeAt(int x)
IDatelineModel.getTimeAt(int)
.
x
- the location for which to return a time point
public ITimeSpan getTimeSpanAt(int x, boolean major)
IDatelineModel.getTimeSpanAt(int, boolean)
.
x
- the x-coordinate to checkmajor
- if TRUE the major grid will be checked (the minor grid if
FALSE)
public ITimeSpan getVisibleTimeSpan()
public void requestVisibleTimeSpan(ITimeSpan span)
span
- the time span that is requested to be shownIDatelineModel.requestVisibleTimeSpan(ITimeSpan)
public java.awt.Dimension getPreferredSize()
getPreferredSize
in class javax.swing.JComponent
protected void paintComponent(java.awt.Graphics g)
paintComponent
in class javax.swing.JComponent
protected void paintGrid(java.awt.Graphics g)
g
- the graphics context into which to drawsetGridColor(Color)
,
paintGrid(Graphics, int, int, List, boolean)
,
paintCell(Graphics, ITimeSpan, int, int, int, int, boolean,
boolean)
protected void paintSelectedTimeSpan(java.awt.Graphics g)
g
- the graphics context into which to drawIDatelineModel.getSelectedTimeSpan()
protected void paintGrid(java.awt.Graphics g, int y, int height, java.util.List<GridLine> grid, boolean major)
g
- the graphics context in which to drawy
- the y-coordinate (will be 0 when drawing the major time and
getHeight() / 2
when drawing the minor time)height
- the height used for each half of the dateline (equals
getHeight() / 2
)grid
- a list of x-coordinates where two succeeding coordinates in
combination with the given y-coordinate and the given height
specify one cell that needs to be filled by the
renderermajor
- a flag indicating whether the given grid represents major or
minor timeprotected void paintCell(java.awt.Graphics g, ITimeSpan span, int x, int y, int width, int height, boolean major, boolean focus)
g
- the graphics context in which to drawspan
- the time span represented by the cellx
- the x-coordinate of the celly
- the y-coordinate of the cell the y-coordinate (will be 0 when
drawing the major time and getHeight() / 2
when
drawing the minor time)width
- the width of the cellheight
- the height used for each half of the dateline (equals
getHeight() / 2
)major
- a flag indicating whether the given grid represents major or
minor timefocus
- protected void paintZoomRectangle(java.awt.Graphics g, java.awt.Rectangle rect)
g
- the graphics context into which to drawrect
- the zoom rectangleIDatelineModel.setZoom(double)
public java.awt.Color getSelectionForegroundColor()
setSelectionForegroundColor(Color)
public void setSelectionForegroundColor(java.awt.Color color)
color
- the color to use for the foreground of selected time spansgetSelectionForegroundColor()
public java.awt.Color getSelectionBackground()
setSelectionBackground(Color)
public void setSelectionBackground(java.awt.Color color)
color
- the color to use for the background of the currently selected
time spangetSelectionBackground()
public void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange
in interface java.beans.PropertyChangeListener
public void datelineModelWillChange(DatelineModelEvent evt)
IDatelineModelListener
datelineModelWillChange
in interface IDatelineModelListener
evt
- the event that occured on the datelinepublic void datelineModelChanged(DatelineModelEvent e)
IDatelineModelListener
datelineModelChanged
in interface IDatelineModelListener
e
- the event that occured on the datelinepublic Dateline.ZoomStrategy getZoomStrategy()
Dateline.ZoomStrategy
. The default value for the zoom strategy is
Dateline.ZoomStrategy.CHANGE_VISIBLE_END_TIME
.
public void setZoomStrategy(Dateline.ZoomStrategy strategy)
Dateline.ZoomStrategy
.
strategy
- the strategy used for zooming into the datelinepublic void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked
in interface java.awt.event.MouseListener
public void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface java.awt.event.MouseListener
public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface java.awt.event.MouseListener
public void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved
in interface java.awt.event.MouseMotionListener
public void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered
in interface java.awt.event.MouseListener
public void mouseExited(java.awt.event.MouseEvent e)
mouseExited
in interface java.awt.event.MouseListener
public void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged
in interface java.awt.event.MouseMotionListener
public void mouseWheelMoved(java.awt.event.MouseWheelEvent evt)
mouseWheelMoved
in interface java.awt.event.MouseWheelListener
public IDatelineMenuProvider getMenuProvider()
public void setMenuProvider(IDatelineMenuProvider provider)
provider
- the dateline's menu providerpublic java.awt.Color getGridColor()
public void setGridColor(java.awt.Color color)
color
- the grid line colorpublic void setFocusedTimeSpan(ITimeSpan span)
span
- the new focused time spanpublic ITimeSpan getFocusedTimeSpan()
public void calendarChanged(CalendarModelEvent evt)
ICalendarModelListener
calendarChanged
in interface ICalendarModelListener
evt
- the change event with more information on the source of the
changepublic java.util.Map<java.lang.Class<? extends IDatelineModel>,IDatelineRenderer> getRendererMap()
public void setRendererMap(java.util.Map<java.lang.Class<? extends IDatelineModel>,IDatelineRenderer> map)
map
- the renderer mappublic java.awt.Color getManualZoomColor()
public void setManualZoomColor(java.awt.Color color)
color
- the color of the zoom rectanglepublic boolean isManualZoomEnabled()
IDatelineModel.setZoom(double)
public void setManualZoomEnabled(boolean enabled)
enabled
- if TRUE the user can manually change the zoom variable in the
dateline modelIDatelineModel.setZoom(double)
public void openHorizonSelector(javax.swing.JComponent parentComponent)
parentComponent
- the parent componentpublic void openGotoSelection(javax.swing.JComponent parentComponent)
parentComponent
- the parent component
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |