Top Description Inners Fields Constructors Methods
impl.com.calendarfx.view

public Class DeveloperConsoleSkin

extends SkinBase<DeveloperConsole>
Class Inheritance
Imports
com.calendarfx.model.Calendar, .CalendarEvent, .Entry, .Interval, .LoadEvent, com.calendarfx.view.DateControl, .DeveloperConsole, .RequestEvent, .TimeField, javafx.beans.binding.Bindings, javafx.collections.FXCollections, .ListChangeListener, .ObservableList, javafx.collections.transformation.FilteredList, javafx.event.Event, .EventHandler, .WeakEventHandler, javafx.geometry.Side, javafx.scene.control.Button, .DatePicker, .Label, .Separator, .SkinBase, .Tab, .TabPane, .TableColumn, .TableView, .ToggleButton, .ToolBar, javafx.scene.control.cell.PropertyValueFactory, javafx.scene.layout.BorderPane, java.time.LocalDateTime, java.time.format.DateTimeFormatter, .FormatStyle

A control used for showing the internals of CalendarFX at work. Helps detecting problems.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
pack-priv static enum

Field Summary

Modifier and TypeField and Description
private final EventHandler<CalendarEvent>
private final DatePicker
private final FilteredList<DeveloperConsoleSkin.LogEntry>
private final ObservableList<DeveloperConsoleSkin.LogEntry>
private final ToggleButton
private final ToggleButton
private final ToggleButton
private final TableView<DeveloperConsoleSkin.LogEntry>
private final TimeField
private final DatePicker
private final WeakEventHandler<CalendarEvent>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private void
private void
private void
private void
setDateControl(DateControl
the monitored control
control
)

Sets the control that will be "monitored" by the developer console.

private void
Inherited from javafx.scene.control.SkinBase:
computeBaselineOffsetcomputeMaxHeightcomputeMaxWidthcomputeMinHeightcomputeMinWidthcomputePrefHeightcomputePrefWidthconsumeMouseEventsdisposeexecuteAccessibleActiongetChildrengetClassCssMetaDatagetCssMetaDatagetNodegetSkinnablelayoutChildrenlayoutInArealayoutInArealayoutInAreapositionInAreapositionInAreapseudoClassStateChangedqueryAccessibleAttributeregisterChangeListenerregisterInvalidationListenerregisterListChangeListenersnappedBottomInsetsnappedLeftInsetsnappedRightInsetsnappedTopInsetsnapPositionsnapPositionXsnapPositionYsnapSizesnapSizeXsnapSizeYsnapSpacesnapSpaceXsnapSpaceYunregisterChangeListenersunregisterInvalidationListenersunregisterListChangeListeners

Field Detail

calendarListenerback to summary
private final EventHandler<CalendarEvent> calendarListener
datePickerback to summary
private final DatePicker datePicker
filteredListback to summary
private final FilteredList<DeveloperConsoleSkin.LogEntry> filteredList
masterDataback to summary
private final ObservableList<DeveloperConsoleSkin.LogEntry> masterData
showCalendarEventsback to summary
private final ToggleButton showCalendarEvents
showLoadEventsback to summary
private final ToggleButton showLoadEvents
showRequestEventsback to summary
private final ToggleButton showRequestEvents
tableViewback to summary
private final TableView<DeveloperConsoleSkin.LogEntry> tableView
timeFieldback to summary
private final TimeField timeField
todayPickerback to summary
private final DatePicker todayPicker
weakCalendarListenerback to summary
private final WeakEventHandler<CalendarEvent> weakCalendarListener

Constructor Detail

DeveloperConsoleSkinback to summary
public DeveloperConsoleSkin(DeveloperConsole view)

Method Detail

addEventback to summary
private void addEvent(Event evt, DeveloperConsoleSkin.LogEntryType type)
filterback to summary
private void filter()
limitListSizeback to summary
private void limitListSize()
setDateControlback to summary
private void setDateControl(DateControl control)

Sets the control that will be "monitored" by the developer console.

Parameters
control:DateControl

the monitored control

updateSkinback to summary
private void updateSkin()
impl.com.calendarfx.view back to summary

public Class DeveloperConsoleSkin.LogEntry

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final int
private static int
private final Event
private final DeveloperConsoleSkin.LogEntryType
private final LocalDateTime

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public int
public String
public String
public DeveloperConsoleSkin.LogEntryType
public String
public String
public String
public String
public Object
public Object
public String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

countback to summary
private final int count
counterback to summary
private static int counter
eventback to summary
private final Event event
logEntryTypeback to summary
private final DeveloperConsoleSkin.LogEntryType logEntryType
timestampback to summary
private final LocalDateTime timestamp

Constructor Detail

LogEntryback to summary
public LogEntry(DeveloperConsoleSkin.LogEntryType type, Event event)

Method Detail

getCounterback to summary
public int getCounter()
getDescriptionback to summary
public String getDescription()
getEventTypeback to summary
public String getEventType()
getLogEntryTypeback to summary
public DeveloperConsoleSkin.LogEntryType getLogEntryType()
getNewEndTimeback to summary
public String getNewEndTime()
getNewStartTimeback to summary
public String getNewStartTime()
getOldEndTimeback to summary
public String getOldEndTime()
getOldStartTimeback to summary
public String getOldStartTime()
getSourceback to summary
public Object getSource()
getTargetback to summary
public Object getTarget()
getTimestampback to summary
public String getTimestamp()
impl.com.calendarfx.view back to summary

pack-priv final Enum DeveloperConsoleSkin.LogEntryType

extends Enum<DeveloperConsoleSkin.LogEntryType>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final DeveloperConsoleSkin.LogEntryType
public static final DeveloperConsoleSkin.LogEntryType
public static final DeveloperConsoleSkin.LogEntryType
public static final DeveloperConsoleSkin.LogEntryType

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static DeveloperConsoleSkin.LogEntryType
public static DeveloperConsoleSkin.LogEntryType[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

CALENDAR_EVENTback to summary
public static final DeveloperConsoleSkin.LogEntryType CALENDAR_EVENT
INFOback to summary
public static final DeveloperConsoleSkin.LogEntryType INFO
LOAD_EVENTback to summary
public static final DeveloperConsoleSkin.LogEntryType LOAD_EVENT
REQUEST_EVENTback to summary
public static final DeveloperConsoleSkin.LogEntryType REQUEST_EVENT

Constructor Detail

LogEntryTypeback to summary
private LogEntryType()

Method Detail

valueOfback to summary
public static DeveloperConsoleSkin.LogEntryType valueOf(String name)
valuesback to summary
public static DeveloperConsoleSkin.LogEntryType[] values()