com.jidesoft.scale
Class ResizePeriodsPopupMenuCustomizer<T>
java.lang.Object
com.jidesoft.scale.ResizePeriodsPopupMenuCustomizer<T>
- Type Parameters:
T
- The type of the bases unit of the scale, for example Date or Integer.
- All Implemented Interfaces:
- ScaleAreaPopupMenuCustomizer<T>, ActionListener, EventListener
public class ResizePeriodsPopupMenuCustomizer<T>
- extends Object
- implements ScaleAreaPopupMenuCustomizer<T>, ActionListener
ResizePeriodsPopupMenuCustomizer
works with ScaleArea
and provides period resizing related
menu items to the ScaleArea's context menu.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESOURCE_PREFIX
public static final String RESOURCE_PREFIX
- See Also:
- Constant Field Values
AUTO_RESIZE_PERIODS
public static final String AUTO_RESIZE_PERIODS
- See Also:
- Constant Field Values
AUTO_RESIZE_PERIODS_VISIBLE_ENTRIES
public static final String AUTO_RESIZE_PERIODS_VISIBLE_ENTRIES
- See Also:
- Constant Field Values
RESIZE_PERIOD_TO_FIT
public static final String RESIZE_PERIOD_TO_FIT
- See Also:
- Constant Field Values
ZOOM_IN
public static final String ZOOM_IN
- See Also:
- Constant Field Values
ZOOM_OUT
public static final String ZOOM_OUT
- See Also:
- Constant Field Values
ResizePeriodsPopupMenuCustomizer
public ResizePeriodsPopupMenuCustomizer(GanttChart<T,?> chart)
customizePopup
public void customizePopup(JPopupMenu menu,
ScaleArea<T> scaleArea,
Period clickedPeriod,
T clickedInstant)
- Specified by:
customizePopup
in interface ScaleAreaPopupMenuCustomizer<T>
getResourceString
protected String getResourceString(String key)
actionPerformed
public void actionPerformed(ActionEvent e)
- Specified by:
actionPerformed
in interface ActionListener