Getoutlinepaint(), Getplacerect(), Gettextforeground() – MiG InfoCom MiG Calendar JavaBeans User Manual
Page 20: Setoutlinepaint(paint), Setplacerect(placerect), Settextforeground(paint), Getoutlinepaint, Getplacerect, Gettextforeground, Setoutlinepaint
![background image](https://www.manualsdir.com/files/798675/content/doc020.png)
getTextForeground
public java.awt.Paint getTextForeground()
Property: The
Paint
used to draw the main text.
Returns:
The current paint. May be
null
.
setTextForeground
public void setTextForeground(java.awt.Paint paint)
Property: The
Paint
used to draw the main text.
Parameters:
paint
- The new paint. May be
null
in which case the title isn't drawn.
getOutlinePaint
public java.awt.Paint getOutlinePaint()
Property: The
Paint
used to draw the outline.
Returns:
The current paint. May be
null
.
setOutlinePaint
public void setOutlinePaint(java.awt.Paint paint)
Property: The
Paint
used to draw the outline.
Parameters:
paint
- The new paint. May be
null
in which case the outline isn't drawn.
getPlaceRect
public PlaceRect getPlaceRect()
Property: How this shape will relate to the reference rectangle (bounds) given by the activity layout system. It can for
instance be used to offset it or something else. Norhally though there will just be a 1:1 mapping which can be done with
FILL
.
Returns:
The current place rect. May be
null
.
setPlaceRect
public void setPlaceRect(PlaceRect placeRect)
Property: How this shape will relate to the reference rectangle (bounds) given by the activity layout system. It can for
instance be used to offset it or something else. Norhally though there will just be a 1:1 mapping which can be done with
FILL
.
Parameters:
placeRect
- The new place rect. May be
null
, but the behaviour for that is undefined.
Page 20 of 196
com.miginfocom.beans.ActivityAShapeBean