Mig-infocom MiG Calendar Getting Started Guide Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Logiciel Mig-infocom MiG Calendar Getting Started Guide. MiG InfoCom MiG Calendar Getting Started Guide User Manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 31
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 0
MiG InfoCom AB
MiG Calendar™ Getting Started Guide
______________________________________________________________
Release 2.0
MiG Calendar Getting Started Guide Page 1 / 31
Vue de la page 0
1 2 3 4 5 6 ... 30 31

Résumé du contenu

Page 1 - Release 2.0

MiG InfoCom ABMiG Calendar™ Getting Started Guide______________________________________________________________Release 2.0MiG Calendar Getting Started

Page 2

MiG InfoCom ABTheme PropertiesIf you want to change the properties of the theme, here is how you do that. It will set a green background. Not pretty,

Page 3 - Table of Contents

MiG InfoCom ABThemeDateArea.reloadStartupStructureFromTheme();ThemeDateArea.reloadFromTheme();ThemeDateArea.recreateAll();HeadersThere are no headers

Page 4

MiG InfoCom ABcreate the header row. A lot more can be specified including mouse over paints, row count, size and label positioning within the header

Page 5 - Getting Started Guide

MiG InfoCom ABOK, now we have a date area that shows a grid of a week with a header that shows the week days and dates. Next we'll show how to ad

Page 6

MiG InfoCom ABThey are drawn with a Decorator like everything else but only the layer index in which the activities are drawn can be changed with the

Page 7 - What Approach to Use?

MiG InfoCom ABWe removed all other layouts first so we know that this is the one that will be used for all ActivityViews.You can have multiple layouts

Page 8 - The Themed Approach

MiG InfoCom ABLet's say that we want odd grid lines to be a bit brighter since they only show 30 min boundaries.Grid lines are repetition specifi

Page 9 - Theme of

MiG InfoCom ABSegments for Nonlinear TimeNormally time between, say, 08.00 and 18.00 (06.00 pm) is the most interesting when it comes to planning, esp

Page 10 - MiG InfoCom AB

MiG InfoCom ABAtFixed min = new AtFixed(1);AtFraction preferred = new AtFraction(0.1f); // Preferred can be absolute or relativeAtFixed max = new AtF

Page 11 - Illustration 3 Header at top

MiG InfoCom ABfinal int dayType = DateRangeI.RANGE_TYPE_DAY;final int weekType = DateRangeI.RANGE_TYPE_WEEK;final int primDir = SwingConstants.HORIZON

Page 12

MiG InfoCom ABMiG InfoCom ABS:t Olofsgatan 28a753 32 UppsalaSwedenwww.miginfocom.comCOPYRIGHT © MiG InfoCom AB.All rights reserved.Java is a trademark

Page 13 - ActivityDepository

MiG InfoCom ABand add all supporting objects, such as Decorators, ActivityLayouts and date/time rounders for activities. There are also a whole slew o

Page 14

MiG InfoCom ABGridLineDecorator glDecorator = new GridLineDecorator(dateArea, 60);dateArea.addDecorator(glDecorator);If you run it now the grid lines

Page 15 - MiG Calendar Tutorial

MiG InfoCom ABforcedSize, forcedSize, forcedSize);dateArea.addActivityLayout(layout);dateArea.addDecorator(dateArea.new ActivityViewDecorator(70));As

Page 16

MiG InfoCom ABFilter Rows and CategoriesEvery column/row in the grid can be divided into sub rows. These sub rows can be divided further into sub rows

Page 17

MiG InfoCom AB new CategoryFilter(mark, false, false), new CategoryFilter(susan, false, false), new CategoryFilter(michael, false, false)};de

Page 18

MiG InfoCom ABCustomizing how Activities Look and FeelThe default installed Decorator that paints the ActivityViews uses the in the DateArea specifie

Page 19 - The Manual Approach

MiG InfoCom ABconstrains on other parts. For a full primer on AShapes set the AShape Tutorial and the MiG Calendar Technical Specification documents.R

Page 20

MiG InfoCom ABglobal map. Look at the JavaDoc for DefaultAShapeProvider for how to do this. Then just set the paintContext on the activities to the sa

Page 21 - CalendarTheme. Here the

MiG InfoCom ABany interactions on it, see the AShape Tutorial for information on how to do this.If all we want to do is fill blue rectangles there is

Page 22 - ActivityLayout

MiG InfoCom ABhere area a more thorough explanation.A Decorator is a generic interface that encapsulates how to paint something. A GridDecorator is a

Page 23 - CategoryFilters on

MiG InfoCom ABTable of ContentsGetting Started Guide... 5Preface...

Page 24

MiG InfoCom ABOccupiedDecorator – Merges the date ranges for the ActivityViews and draws/fills the background, or some of it, for when there is at lea

Page 25

MiG InfoCom ABContinued ReadingThis Getting Started guide has given you the basics for experimenting on your own. First stop should probably be the Th

Page 26 - Specification

MiG InfoCom ABThe Manual Approach...20Filter Rows and Categories...

Page 27

MiG InfoCom ABGetting Started GuidePrefaceThis document aims at providing enough information to get started using the MiG Calendar component in your a

Page 28 - Decorators

MiG InfoCom ABSetting up MiG Calendar for usageClasspathIn order to use the calendar component your application needs to find it. How to do this depen

Page 29

MiG InfoCom ABapplication up and working so that you have a workplace (a JPanel for instance) to add the component to. You can also look at the end of

Page 30

MiG InfoCom ABgrid properties and a lot of other stuff manually. It is not as daunting as it may sound but a quite thorough read through of the Defaul

Page 31 - Continued Reading

MiG InfoCom ABThe ThemeDateAreaContainerTo create a component and to show it is really easy. Just create a ThemeDateAreaContainer and it will create

Commentaires sur ces manuels

Pas de commentaire