Getrowimagealignx(), Getrowimagealigny(), Setknobimagealigny(atrefrangenumber) – MiG InfoCom MiG Calendar JavaBeans User Manual

Page 40: Setrowimagealignx(atrefrangenumber), Getrowimagealignx, Getrowimagealigny, Setknobimagealigny, Setrowimagealignx, Atrefrangenumber

Advertising
background image

(continued from last page)

setKnobImageAlignY

public void setKnobImageAlignY(AtRefRangeNumber align)

Property: How the knob 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

getRowImageAlignX

public AtRefRangeNumber getRowImageAlignX()

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

new AtFraction(0.5f)

for centered or

new

AtStart(2f)

for two pixels from the left edge.

Returns:

The current alignment. Not

null

.

See Also:

AtFraction

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

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

setRowImageAlignX

public void setRowImageAlignX(AtRefRangeNumber align)

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

new AtFraction(0.5f)

for centered or

new

AtStart(2f)

for two pixels from the left 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

getRowImageAlignY

public AtRefRangeNumber getRowImageAlignY()

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

new AtFraction(0.5f)

for centered or

new

AtStart(2f)

for two pixels from the left edge.

Returns:

The current alignment. Not

null

.

See Also:

AtFraction

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

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

Page 40 of 196

com.miginfocom.beans.CategoryHeaderBean

Advertising