Gettextantialias(), Setrowimagealigny(atrefrangenumber), Settextantialias(int) – MiG InfoCom MiG Calendar JavaBeans User Manual

Page 41: Addinteractionlistener, Interactionlistener, Gettextantialias, Setrowimagealigny, Atrefrangenumber, Settextantialias

Advertising
background image

setRowImageAlignY

public void setRowImageAlignY(AtRefRangeNumber align)

Property: How the row image should be aligned vertically. E.g.:

new AtFraction(0.5f)

for centered or

new AtEnd(-

2f)

for two pixels from the bottom edge.

Parameters:

align

- The new alignment. Not

null

.

See Also:

AtFraction

com.miginfocom.util.gfx.geometry.numbers.AtStart

com.miginfocom.util.gfx.geometry.numbers.AtEnd

getTextAntiAlias

public int getTextAntiAlias()

Property: The anti aliasing hint used when drawing the text for the shape. For instance

AA_HINT_ON

.

Returns:

The current hint. May be

null

.

See Also:

confAntiAliasingHint

setTextAntiAlias

public void setTextAntiAlias(int hint)

Property: The anti aliasing hint used when drawing the text for the shape. For instance

AA_HINT_PLATFORM

.

Parameters:

hint

- The new hint.

See Also:

confAntiAliasingHint

addInteractionListener

public void addInteractionListener(InteractionListener l)

Adds a listener that listens to

InteractionEvent

s. Interaction events are normally fired by the

Interaction/Interactor/AbstractInteractionBroker framework, used for instance by the

com.miginfocom.ashape.shapes.AShape

framework.

The interaction events that is fired is when the user presses the knob or the label in the header.

This class is actually a re-dispatcher of these events. It is itself an

com.miginfocom.ashape.interaction.InteractionListener

and registers itself on the interaction observable

objects it creates. For instance

com.miginfocom.calendar.activity.view.ActivityView

s.

Parameters:

l

- The listener to add

Page 41 of 196

com.miginfocom.beans.CategoryHeaderBean

Advertising