Mig-infocom MiG Calendar JavaBeans Manuel d'utilisateur

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

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 196
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs

Résumé du contenu

Page 1 - MiG Calendar JavaBeans

MiG Calendar JavaBeansAPIEllen BergdahlMiG InfoCom AB 2007

Page 2 - Page 2 of

void setPaintContext(String paintContext)Property: The context that the AShape that this bean represent will adhere to.void setPlaceRect(PlaceRect pla

Page 3

(continued from last page)Property: The category from the com.miginfocom.calendar.category.CategoryDepository that will serve as theroot for t

Page 4 - Page 4 of

setCategoryAutoRevalidatepublic void setCategoryAutoRevalidate(boolean b)Property: If the categories in the CategoryDepository changes the d

Page 5 - Page 5 of

(continued from last page)Property: If the root category set with setCategoryRoot(com.miginfocom.calendar.category.Category)should be shown or

Page 6 - Page 6 of

(continued from last page)Property: The layer index for the decorator that paints the grid lines.This property affect the order in which the dif

Page 7

(continued from last page)See Also:SelectionGridDecoratoraddDecorator(com.miginfocom.calendar.decorators.Decorator)setLayerForSelectionspublic

Page 8 - Page 8 of

(continued from last page)Property: The layer index for the decorator that paints the even date ranges. It can for instance be used to draw ever

Page 9 - Page 9 of

(continued from last page)Parameters:i - The new layer for the decorator.See Also:OccupiedDecoratorgetLayerForImagepublic int getLayerForImage

Page 10 - Page 10 of

(continued from last page)Property: The layer index for the decorator that paints the odd rows and/or columns. It can for instance be used to

Page 11 - Constructors

(continued from last page)ImageDecoratorgetImagePlaceRectpublic PlaceRect getImagePlaceRect()Property: How the image should be placed relative

Page 12 - Page 12 of

(continued from last page)Parameters:b - The new value for the property.See Also:ImageDecoratorgetOccupiedBackgroundPaintpublic java.awt.Paint

Page 13 - Page 13 of

void setTitleFont(java.awt.Font font)Property: The font used to draw the title in the shape.void setTitleForeground(java.awt.Paint paint)Pr

Page 14 - Page 14 of

(continued from last page)Property: The outline paint for the decoration where there's an activity which range overlap.This is a property

Page 15 - Page 15 of

(continued from last page)setOccupiedNotOutlinePaintpublic void setOccupiedNotOutlinePaint(java.awt.Paint p)Property: The outline paint for the

Page 16 - Page 16 of

(continued from last page)Property: If occupied activity ranges that overlap should be combined (merged) before draing the occupied rects.This

Page 17 - Page 17 of

getActivityPaintContextpublic String getActivityPaintContext()Property: The default paint context that will be used to get an AShape to paint w

Page 18 - Page 18 of

(continued from last page)Property: The layout provider for the primary dimension for the grid. The primary dimension is the one (vertical o

Page 19 - Page 19 of

(continued from last page)getWrapBoundaryCountpublic int getWrapBoundaryCount()Returns the number of wrapBoundary before wrapping.Returns:

Page 20 - Page 20 of

(continued from last page)What dimension time progresses if there was no wrapping. SwingConstants.HORIZONTAL orSwingConstants.VERTICAL.Retur

Page 21 - Page 21 of

getCategoryHeaderpublic CategoryHeaderBean getCategoryHeader()Returns the one and only category header bean. It will always be above or to

Page 22 - Page 22 of

getSouthDateHeaderpublic DateHeaderBean getSouthDateHeader()Returns the date header that is below the date area.Returns:The date header

Page 23 - Page 23 of

(continued from last page)setLabelFontpublic void setLabelFont(java.awt.Font font)Property: The font used to draw the label.This is a property

Page 24 - Page 24 of

(continued from last page)Property: The size the resize boxes should be placed. -1 if no resize boxes and thus there will be no way to res

Page 25 - Page 25 of

(continued from last page)Parameters:hint - The new hint.See Also:confAntiAliasingHintgetLabelBackgroundpublic java.awt.Paint getLabelBackgrou

Page 26 - Page 26 of

(continued from last page)Parameters:paint - The paint. May be null.See Also:getLabelBackground()getLabelBorderpublic javax.swing.border.Borde

Page 27

(continued from last page)Parameters:b - The border that is painted around the label. May be null.See Also:getLabelBorder()getLabelForegroundp

Page 28 - Page 28 of

(continued from last page)c - The color that is used to draw the label. May be null.See Also:getLabelForeground()getLabelPlaceRectpublic Place

Page 29 - Page 29 of

(continued from last page)Property: The horizontal alignment the label should have within the bounds denoted by the PlaceRact(setLabelPlaceRect(

Page 30

(continued from last page)getLabelDateFormatpublic String getLabelDateFormat()Property: The date format that specifies the text that will be the

Page 31 - Page 31 of

(continued from last page)See Also:getLabelNowDateFormat()getLabelNowRangeTypepublic Integer getLabelNowRangeType()Property: The range type

Page 32 - Page 32 of

setLabelFirstInFieldpublic void setLabelFirstInField(int calField)Property: If getFirstDateFormat() is != this is the java.util.Calendar field

Page 33 - Page 33 of

setLabelMinimumCellSizepublic void setLabelMinimumCellSize(java.awt.Dimension size)Property: If the cell is smaller than this size, in any

Page 34 - Page 34 of

(continued from last page)getHorizontalGridLinePaintOddpublic java.awt.Paint getHorizontalGridLinePaintOdd()Property: The paint used to dr

Page 35 - Page 35 of

(continued from last page)See Also:setMouseOverSummaryUnderline(int)setMouseOverSummaryUnderlinepublic void setMouseOverSummaryUnderline(int

Page 36 - Page 36 of

(continued from last page)Property: The paint used to draw sub row divider grid lines. This will only be in the secondary dimension since sub

Page 37 - Page 37 of

(continued from last page)Property: Grid line exceptions makes it very fleible to override the gridline size and color in a structured way. Exam

Page 38 - Page 38 of

getSelectionMousePressedPaintpublic java.awt.Paint getSelectionMousePressedPaint()Property: The paint used to fill the cells that the is pre

Page 39 - Page 39 of

(continued from last page)See Also:setSelectableRange(com.miginfocom.util.dates.DateRangeI)setSelectablePaintpublic void setSelectablePain

Page 40 - Page 40 of

(continued from last page)Returns:The current paint. May be null.setOddColumnPaintpublic void setOddColumnPaint(java.awt.Paint paint)Propert

Page 41 - Page 41 of

(continued from last page)Parameters:rangeType - The new date range type. E.g. DateRangeI.RANGE_TYPE_MONTH.getEvenRangeTypeCountpublic int g

Page 42 - Page 42 of

setDividerRangeTypepublic void setDividerRangeType(int rangeType)Property: The type of the divider range (e.g. day, week, month). If the

Page 43

(continued from last page)setActivityDepositoryContextpublic void setActivityDepositoryContext(String context)Property: The context used as a

Page 44

(continued from last page)setSelectionTypepublic void setSelectionType(int type)Property: The type of selection that can be done on the date

Page 45 - Page 45 of

(continued from last page)Property: The outer border around the date area. The border will be installed on the scroll pane so that it will

Page 46 - Page 46 of

(continued from last page)setMouseOverCursorpublic void setMouseOverCursor(java.awt.Cursor c)Property: The Cursor showed when the mouse is over th

Page 47 - Page 47 of

removeDateChangeListenerpublic void removeDateChangeListener(DateChangeListener l)This call is transmitted to theremoveDateChangeListene

Page 48 - Page 48 of

com.miginfocom.beansClass DateComboBeanjava.lang.Object | +-ComboDateSpinner | +-com.miginfocom.beans.DateComboBean public class DateCo

Page 49 - Page 49 of

com.miginfocom.beansClass DateGroupConnectorBeanjava.lang.Object | +-DateSpinnerGroup | +-com.miginfocom.beans.DateGroupConnectorBean p

Page 50 - Page 50 of

com.miginfocom.beansClass DateHeaderBeanjava.lang.Object | +-com.miginfocom.beans.AbstractBean | +-com.miginfocom.beans.AbstractHeaderBe

Page 51 - Page 51 of

String getLabelRotationRows()Property: A comma separated string with the rows that are to get the propertygetLabelRotation().boolean getMouseEffectsEn

Page 52 - Page 52 of

void setTextAntiAliasRows(String rows)Property: A comma separated string with the rows that are to get the propertygetTextAntiAlias().Meth

Page 53 - Page 53 of

(continued from last page)setGridLineExceptionspublic void setGridLineExceptions(GridLineException[] exceptions)Property: Grid line exceptions m

Page 54 - Page 54 of

(continued from last page)The current value.setLabelRotationRowspublic void setLabelRotationRows(String rows)Property: A comma separated strin

Page 55 - Page 55 of

(continued from last page)The current value.setTextAntiAliasRowspublic void setTextAntiAliasRows(String rows)Property: A comma separated str

Page 56 - Page 56 of

(continued from last page)rowGap - The gap in pixels between the header rows.Since:6.0getInnerBorderpublic javax.swing.border.Border getInne

Page 57

(continued from last page)getShadowSliceSize()getShadowSliceSizepublic int getShadowSliceSize()Property: How big (thick) the outer (border

Page 58 - Page 58 of

(continued from last page)getHeaderRowspublic CellDecorationRow[] getHeaderRows()Property: An array of rows that makes out the different rows or co

Page 59 - Page 59 of

getMouseEffectsEnabledpublic boolean getMouseEffectsEnabled()Property: If mouse listeners should be installed on the header to make live effe

Page 60 - Page 60 of

com.miginfocom.beansClass DatePickerBeanjava.lang.Object | +-DatePicker | +-com.miginfocom.beans.DatePickerBean public class DatePicker

Page 61 - Page 61 of

com.miginfocom.beansClass DateSpinnerBeanjava.lang.Object | +-SlimDateSpinner | +-com.miginfocom.beans.DateSpinnerBean public class Dat

Page 62 - Page 62 of

com.miginfocom.beansClass DemoDataBeanjava.lang.Object | +-Category | +-com.miginfocom.beans.DemoDataBean public class DemoDataBeanexte

Page 63 - Page 63 of

int getGapMinutesMin()Property: The minimum minutes that has to pass between two generated activities.int getLengthMinutesMax()Property: The maximum n

Page 64 - Page 64 of

void setGapMinutesMax(int minutes)Property: The maximum minutes that should pass between two generated activities.void setGapMinutesMin(int mi

Page 65 - Page 65 of

(continued from last page)setEnabledpublic void setEnabled(boolean b)Property: If the demo data bean is enabled or not. If not enabled the d

Page 66 - Page 66 of

(continued from last page)See Also:getInstance(String)createActivities(com.miginfocom.util.dates.DateRangeI, String[], String[], Object[],Obje

Page 67 - Page 67 of

(continued from last page)See Also:createActivities(com.miginfocom.util.dates.DateRangeI, String[], String[], Object[],Object[][], int, in

Page 68 - Page 68 of

(continued from last page)Property: The blur radius for the blur filter. Greater means more smeared shadow but it takes longer to compute.Para

Page 69 - Page 69 of

(continued from last page)Property: The time zone to set for every created com.miginfocom.calendar.activity.Activity.This method will recr

Page 70 - CHECK_IMG

(continued from last page)setGapMinutesMinpublic void setGapMinutesMin(int minutes)Property: The minimum minutes that has to pass between tw

Page 71 - Page 71 of

(continued from last page)Returns:The current value.setLengthMinutesMinpublic void setLengthMinutesMin(int minutes)Property: The minimum n

Page 72 - Page 72 of

(continued from last page)Property: If the demo date should only be created in a design time environment. This usually means in the designer of theI

Page 73 - Page 73 of

com.miginfocom.beansClass GridDimensionLayoutBeanjava.lang.Object | +-com.miginfocom.beans.AbstractBean | +-com.miginfocom.beans.GridDim

Page 74 - Page 74 of

int getCompressRowsFormat()Property: The type (unit) for the CompressRowsRanges property.String getCompressRowsRanges()Property: A string that describ

Page 75 - HALF_CHECK_IMG (private)

Methods inherited from class com.miginfocom.beans.AbstractBeanaddPropertyChangeListener, addPropertyChangeListener, firePropertyChangeEv

Page 76 - Page 76 of

(continued from last page)Returns:The layout that this bean represents.isExpandRowsToFitpublic boolean isExpandRowsToFit()Property: If the r

Page 77 - Page 77 of

(continued from last page)Returns:The current range(s). Not null but can be empty.setCompressRowsRangespublic void setCompressRowsRanges(Strin

Page 78 - Page 78 of

(continued from last page)getRowSizeNormalpublic SizeSpec getRowSizeNormal()Property: The minimum, maximum and preferred size for a normal row

Page 79 - Page 79 of

(continued from last page)setShadowCornerRadiuspublic void setShadowCornerRadius(double radius)Property: The corner radius for the shadow com.migi

Page 80 - Page 80 of

(continued from last page)Property: The minimum, maximum and preferred size for a sub row that has no sub rows itself (it's a leaf). This i

Page 81 - Page 81 of

(continued from last page)See Also:SizeSpecsetSubRowSizeExpandedFolder(com.miginfocom.util.gfx.geometry.SizeSpec)setSubRowSizeFoldedFolder(com.mig

Page 82 - Page 82 of

com.miginfocom.beansClass NorthCategoryHeaderBeanjava.lang.Object | +-com.miginfocom.beans.AbstractBean | +-com.miginfocom.beans.Abstrac

Page 83 - Page 83 of

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitConstructorsNorthCategoryHeaderBeanpublic NorthCategoryHeaderBean()Page 1

Page 84 - Page 84 of

com.miginfocom.beansClass PaintPanelBeanjava.lang.Object | +-BackgroundPanel | +-com.miginfocom.beans.PaintPanelBean public class Paint

Page 85 - - The decorators to remove

com.miginfocom.beansClass PrintPreviewBeanjava.lang.Object | +-java.awt.Component | +-java.awt.Container | +-javax.swing

Page 86

float getLayoutAlignmentY()Property: How to align the preview panels as a group if there are free space to distribute.java.awt.Dimension getMaximumSiz

Page 87 - Page 87 of

void setPageFormat(java.awt.print.PageFormat pf)Property: The java.awt.print.PageFormat that will be used in the print preview.void setPageGapX(int

Page 88 - Page 88 of

addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect,contains, createToolTip, disable, enable, firePropertyChange, fireProp

Page 89 - Page 89 of

action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener,addHierarchyListener, addInputMethodListener, addKeyListener, add

Page 90 - Page 90 of

(continued from last page)Property: The template text that will show in the title of the shape. Since the title, or at least parts thereof, is d

Page 91 - Page 91 of

getAccessibleContextConstructorsPrintPreviewBeanpublic PrintPreviewBean()Methodsinvalidatepublic void invalidate()setLayoutpublic voi

Page 92 - Page 92 of

(continued from last page)The container. May be null.setDateAreaContainerpublic void setDateAreaContainer(DateAreaContainer container)Proper

Page 93 - Page 93 of

(continued from last page)Parameters:zoom - The new zoom level.getZoomPreferredpublic double getZoomPreferred()Property: The prererred size

Page 94 - Page 94 of

(continued from last page)Property: The dots (pixels) per inch that the screen physically have. This value is used to caclulate how long a c

Page 95 - Page 95 of

(continued from last page)Returns:The alignment. 0.0 to 1.0.setLayoutAlignmentYpublic void setLayoutAlignmentY(float alignY)Property: Ho

Page 96 - Page 96 of

(continued from last page)getPageGapYpublic int getPageGapY()Property: The number of vertical pixels between two adjacent pages.Returns:The curr

Page 97

com.miginfocom.beansClass PrintSpecificationBeanjava.lang.Object | +-PrintSpecification | +-com.miginfocom.beans.PrintSpecificationBean

Page 98 - DefaultDateArea

com.miginfocom.beansClass WestCategoryHeaderBeanjava.lang.Object | +-com.miginfocom.beans.AbstractBean | +-com.miginfocom.beans.Abstract

Page 99 - Page 99 of

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitConstructorsWestCategoryHeaderBeanpublic WestCategoryHeaderBean()Page 188

Page 100 - Page 100 of

IndexAABSOLUTE_CELLS 166ActivityAShapeBean 11addActivityDragResizeListener 139addActivityMoveListener 140addDateChangeListener 139, 151addDecorat

Page 101 - Page 101 of

(continued from last page)The current hint.See Also:confAntiAliasingHintsetAntiAliaspublic void setAntiAlias(int hint)Property: The anti ali

Page 102 - Page 102 of

getExpandToCorner 4getFlowPages 183getFolderBackground 66getFolderCheckBackground 70getFolderCheckCursor 67getFolderCheckForeground 69getFolderC

Page 103 - Page 103 of

getLeafCheckMouseOverBackground 76getLeafCheckMouseOverForeground 76getLeafCheckPlaceRect 64getLeafCheckSelectedIcon 77getLeafCheckShape 63getLea

Page 104 - Page 104 of

getSummaryTexts 159getTextAlignX 21getTextAlignY 21getTextAntiAlias 19, 41, 147getTextAntiAliasRows 147getTextFont 23getTextForeground 20getTex

Page 105 - Page 105 of

SsetActivityCategories 158setActivityDepositoryContext 136, 157setActivityLayouts 116setActivityPaintContext 113setAntiAlias 19setAntiAliasHint

Page 106 - Page 106 of

setImageTiling 108setInnerBorder 149setKnobCursor 34setKnobExpandedImage 38setKnobFoldedImage 39setKnobFoldOnPress 33setKnobImageAlignX 39setKn

Page 107 - Page 107 of

setOccupiedRoundToRangeType 112setOddColumnPaint 134setOddRowPaint 133setOnlyDesignTime 163setOuterBorder 149setOutlinePaint 20setOutlineStrokeW

Page 108 - Page 108 of

validateHeaders 118WWestCategoryHeaderBean 188Page 196 of 196Index

Page 109 - Page 109 of

Packagecom.miginfocom.beans Page 2 of 196

Page 110 - Page 110 of

getTextForegroundpublic java.awt.Paint getTextForeground()Property: The Paint used to draw the main text.Returns:The current paint. May be

Page 111 - Page 111 of

getTextPlaceRectpublic PlaceRect getTextPlaceRect()Property: How this shape's main text will relate to the reference rectangle (bounds)

Page 112 - Page 112 of

(continued from last page)getTextPlaceRect()setTextAlignYpublic void setTextAlignY(AtRefRangeNumber y)Property: Where within the place rect

Page 113 - Page 113 of

(continued from last page)See Also:setTitlePlaceRect(PlaceRect)getTitleAlignYpublic AtRefRangeNumber getTitleAlignY()Property: Where withi

Page 114 - Page 114 of

(continued from last page)Property: The font used to draw the main text in the shape.Parameters:font - The new font. May be null in which

Page 115 - Page 115 of

(continued from last page)Parameters:radius - The new radius.See Also:setRoundRect(double, double, double, double, double, double)addMouseIntera

Page 116 - Page 116 of

(continued from last page)removeMouseInteractionListenerpublic void removeMouseInteractionListener(MouseInteractionListener l)Removes the listener if

Page 117 - Page 117 of

com.miginfocom.beansClass CategoryHeaderBeanjava.lang.Object | +-com.miginfocom.beans.AbstractBean | +-com.miginfocom.beans.AbstractHead

Page 118 - Page 118 of

java.awt.Cursor getKnobCursor()Property: The java.awt.Cursor that the mouse pointer should change to when over +-knob.XtdImage getKnobExpandedImage()P

Page 119 - Page 119 of

void setCellBorder(javax.swing.border.Border border)Property: The javax.swing.border.Border used to draw around the cells in the header.void setCellCu

Page 120 - Page 120 of

com.miginfocom.beansClass AbstractHeaderBeanjava.lang.Object | +-com.miginfocom.beans.AbstractBean | +-com.miginfocom.beans.AbstractHead

Page 121 - Page 121 of

void setRowImageAlignY(AtRefRangeNumber align)Property: How the row image should be aligned vertically.void setRowLeafImage(XtdImage ima

Page 122 - Page 122 of

(continued from last page)interactionOccuredpublic void interactionOccured(InteractionEvent e)getNoExpandedFolderGridLinepublic boolean getNoE

Page 123 - Page 123 of

(continued from last page)setLabelFoldOnPresspublic void setLabelFoldOnPress(boolean b)Property: If the corresponding sub row should be folded w

Page 124 - Page 124 of

setCellCursorpublic void setCellCursor(java.awt.Cursor cur)Property: The java.awt.Cursor that the mouse pointer should change to when over a cel

Page 125 - Page 125 of

(continued from last page)Property: If the corresponding sub row should be folded when the user press the knob image in the category header. T

Page 126 - Page 126 of

(continued from last page)Property: A com.miginfocom.util.gfx.XtdImage (which is a very flexible Image/Icon) that should represent afolder a

Page 127 - Page 127 of

(continued from last page)Property: The specification for the levels that correspond to the category level. The main row, which doesn't represe

Page 128 - Page 128 of

(continued from last page)Property: The specification for the levels that correspond to the category level. The main row, which doesn't represe

Page 129 - Page 129 of

(continued from last page)The folder rows' size should include its childrens bounds in the secondary dimension.setFolderOverlapChildr

Page 130 - Page 130 of

(continued from last page)The current image or null for none.setKnobFoldedImagepublic void setKnobFoldedImage(XtdImage image)Property: A com

Page 131 - Page 131 of

Methods inherited from class com.miginfocom.beans.AbstractBeanaddPropertyChangeListener, addPropertyChangeListener, firePropertyChangeEven

Page 132 - Page 132 of

(continued from last page)setKnobImageAlignYpublic void setKnobImageAlignY(AtRefRangeNumber align)Property: How the knob image should be aligned

Page 133 - Page 133 of

setRowImageAlignYpublic void setRowImageAlignY(AtRefRangeNumber align)Property: How the row image should be aligned vertically. E.g.: new At

Page 134 - Page 134 of

(continued from last page)addInteractionListenerpublic void addInteractionListener(InteractionListener l, boolean asWeakRef)Adds a listener

Page 135 - Page 135 of

com.miginfocom.beansClass CategoryTreeBeanjava.lang.Object | +-java.awt.Component | +-java.awt.Container | +-javax.swing

Page 136 - Page 136 of

public static final LABEL_SELECTED_KEYThis is the default key used to set in thecom.miginfocom.calendar.category.Category a Boolean object denoti

Page 137 - Page 137 of

void addInteractionListener(InteractionListener l, boolean asWeakRef)Adds a listener that listens to InteractionEvents.void addNotify()int getAntiAlia

Page 138 - Page 138 of

java.awt.Paint getFolderCheckMouseOverForeground()Property: The paint to use for the foreground of the check when the mouse is hovering overit.PlaceRe

Page 139 - Page 139 of

PropertyKey getLabelSelectedKey()Property: This is the key used to set in thecom.miginfocom.calendar.category.Category a Boolean object denoting on if

Page 140 - Page 140 of

java.awt.Color getLeafMouseOverForeground()Property: The foreground for when the mouse is hovering over the label.Integer getLeafMouseOverUnderline()P

Page 141 - Constructor Summary

boolean isLeafCheckVisible()Property: If the check box is visible.boolean isLeafLabelSelectable()Property: If the label should be selectable.boolean i

Page 142

setExpandToCornerpublic void setExpandToCorner(int corner)Property: What corner, if any, the header should expand into if (if it exist, or rat

Page 143 - Method Summary

void setFolderBackground(java.awt.Paint p)Property: The anti alias hint for the label text.void setFolderCheckBackground(java.awt.Paint p)Property: Th

Page 144 - Page 144 of

void setFolderMouseOverBackground(java.awt.Paint p)Property: Background paint when the mouse is hovering over the node.void setFolderMouseOverFont(jav

Page 145

void setLeafCheckMouseOverBackground(java.awt.Paint p)Property: The background for when the mouse is hovering over the check.void setLeafCheckMouseOve

Page 146 - Page 146 of

void setLeafSelectedFont(java.awt.Font f)Property: The font if the node label is selected.void setLeafSelectedForeground(java.awt.Color c)Property:

Page 147 - Page 147 of

addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect,contains, createToolTip, disable, enable, firePropertyChange, fireProp

Page 148 - Page 148 of

action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener,addHierarchyListener, addInputMethodListener, addKeyListener, add

Page 149 - Page 149 of

getAccessibleContextFieldsLABEL_SELECTED_KEYpublic static final PropertyKey LABEL_SELECTED_KEYThis is the default key used to set in

Page 150 - Page 150 of

(continued from last page)FOLDER_CHECK_IMAGE_SHAPE_NAMEpublic static final java.lang.String FOLDER_CHECK_IMAGE_SHAPE_NAMEConstant value

Page 151 - Page 151 of

(continued from last page)CategoryTreeBeanpublic CategoryTreeBean()MethodsaddNotifypublic void addNotify()removeNotifypublic void removeN

Page 152

(continued from last page)getScrollPanepublic javax.swing.JScrollPane getScrollPane()Returns the scroll panel that is used to show the categ

Page 153

(continued from last page)Property: The background paint in the date area. Will override the normal background Color so that Paint objects can b

Page 154

setCategoryAutoRevalidatepublic void setCategoryAutoRevalidate(boolean b)Property: If the categories in the CategoryDepository changes the t

Page 155 - Page 155 of

(continued from last page)key - The new key. null will reset it to the default value.getDemoDataBeanpublic DemoDataBean getDemoDataBean(

Page 156

(continued from last page)isLeafCheckVisiblepublic boolean isLeafCheckVisible()Property: If the check box is visible.Returns:The current v

Page 157 - Page 157 of

(continued from last page)Property: The height in pixels for every row in the tree.Returns:The current value. Default is 17.setFolderRowHe

Page 158 - Page 158 of

setFolderCheckShapepublic void setFolderCheckShape(java.awt.Shape s)Property: The shape outline of the check box.Parameters:s - The new

Page 159 - Page 159 of

(continued from last page)Property: Where the check outline should be placed within the node.Parameters:r - The new value. Default is new

Page 160 - Page 160 of

getFolderIconTextGappublic int getFolderIconTextGap()Property: The gap in pixels between the icon and text.Returns:The current value. De

Page 161 - Page 161 of

(continued from last page)Property: The anti alias hint for the label text.Returns:The current value. Default is AA_HINT_PLATFORM.setFolde

Page 162 - Page 162 of

setFolderCheckCursorpublic void setFolderCheckCursor(java.awt.Cursor cur)Property: The cursor for when the mouse is over the check.Param

Page 163 - Page 163 of

(continued from last page)Property: The paint to use for the foreground of the check when the mouse is hovering over it.Parameters:p - The

Page 164 - Field Summary

com.miginfocom.beansClass ActivityAShapeBeanjava.lang.Object | +-com.miginfocom.beans.AbstractBean | +-com.miginfocom.beans.ActivityASha

Page 165 - Page 165 of

getFolderCheckBackgroundpublic java.awt.Paint getFolderCheckBackground()Property: The paint to use for the background of the check.Retur

Page 166

(continued from last page)Property: The hover mouse cursor over the label.Returns:The current value. Default is null.setFolderLabelCursorp

Page 167 - Page 167 of

setFolderMouseOverFontpublic void setFolderMouseOverFont(java.awt.Font f)Property: The font when the mouse is hovering over the node.Par

Page 168 - Page 168 of

(continued from last page)Property: The background if the node label is selected.Parameters:p - The new value. Default is null which means

Page 169 - Page 169 of

getLeafUnderlinepublic Integer getLeafUnderline()Property: The underline width in pixels.Returns:The current value. Default is null whic

Page 170 - Page 170 of

(continued from last page)Property: The font of the label.Returns:The current value. Default is same as for the bean.setLeafFontpublic voi

Page 171 - Page 171 of

setLeafCheckHalfSelectedIconpublic void setLeafCheckHalfSelectedIcon(XtdImage image)Property: The icon for when a check is "half&qu

Page 172

(continued from last page)Property: If the check should be selectable.Parameters:b - The new value. Default is true.getLeafCheckSelectedIc

Page 173

getLeafMouseOverBackgroundpublic java.awt.Paint getLeafMouseOverBackground()Property: The background for when the mouse is hovering over

Page 174

(continued from last page)Property: The underline in pixels for when the mouse is hovering over the label.Returns:The current value. Defau

Page 175

int getMouseOverSummaryUnderline()Property: How thick the underline should be for mouse overs of on the summary text. 0 willdisable it.java.awt.Paint

Page 176 - Page 176 of

setLeafSelectedForegroundpublic void setLeafSelectedForeground(java.awt.Color c)Property: The foreground if the node label is selected.P

Page 177 - Page 177 of

(continued from last page)getRootCategoryIdpublic Object getRootCategoryId()Returns the category ID of the root node.Returns:The category ID o

Page 178 - Page 178 of

(continued from last page)cat - The category to toggle the selected state on.interactionOccuredpublic void interactionOccured(InteractionEve

Page 179 - Page 179 of

(continued from last page)isIgnoreInteractionEventspublic boolean isIgnoreInteractionEvents()Returns if events are currently ignored.Returns

Page 180

(continued from last page)sortDecoratorspublic void sortDecorators()Resort the decorators that this tree handles. This is normally only need

Page 181 - Page 181 of

(continued from last page)removeDecoratorspublic void removeDecorators(Collection decorators)Removes all decoratorsParameters:decorators - The decorat

Page 182 - Page 182 of

com.miginfocom.beansClass DateAreaBeanjava.lang.Object | +-DateAreaContainer | +-com.miginfocom.beans.DateAreaBean public class DateAre

Page 183 - Page 183 of

void addInteractionListener(InteractionListener l, boolean asWeakRef)This call is transmitted to theaddInteractionListener(com.miginfocom.ashape.inter

Page 184 - Page 184 of

DemoDataBean getDemoDataBean()Property: A reference to a demo data bean that creates demo data for this date area.java.awt.Paint getDividerPaint()Prop

Page 185 - Page 185 of

int getLabelCellModulo()Property: This property make is possible to show every second or third (for instance) celllabel instead if the default every o

Page 186

PlaceRect getTextPlaceRect()Property: How this shape's main text will relate to the reference rectangle (bounds) given bythe activity layout syst

Page 187

int getLayerForImage()Property: The layer index for the decorator that paints a background/foreground image inthe date area.int getLayerForLabels()Pro

Page 188

int getPrimaryDimension()What dimension time progresses if there was no wrapping.int getPrimaryDimensionCellType()Returns the type of primDimCellSpanC

Page 189 - Page 189 of

DateHeaderBean getWestDateHeader()Returns the date header that is to the left the date area.String getVisibleDateRangeString()Property: A string repre

Page 190 - Page 190 of

void setCategoryAutoRevalidate(boolean b)Property: If the categories in the CategoryDepository changes the date area willrevalidate itself if there is

Page 191 - Page 191 of

void setHorizontalGridLinePaintOdd(java.awt.Paint paint)Property: The paint used to draw the odd (1, 3, 5...) horizontal grid lines.void setImage(XtdI

Page 192 - Page 192 of

void setLabelNowDateFormat(String format)Property: The date format that specifies the text that will be the label for the cell that spansthe current t

Page 193 - Page 193 of

void setOccupiedMergeOverlapping(boolean b)Property: If occupied activity ranges that overlap should be combined (merged) beforedraing the occupied re

Page 194 - Page 194 of

void setSelectionType(int type)Property: The type of selection that can be done on the date area background.void setShowNoFitIcon(boolean b)Prop

Page 195 - Page 195 of

(continued from last page)MethodsaddNotifypublic void addNotify()removeNotifypublic void removeNotify()createLayoutpublic GridDimensio

Page 196 - WestCategoryHeaderBean 188

(continued from last page)Property: If true draws an information message in "design time".Returns:The current value. true is default

Commentaires sur ces manuels

Pas de commentaire