Class CellAreaBox
- All Implemented Interfaces:
Buildable,CellLayout,Orientable,Proxy
The GtkCellAreaBox renders cell renderers into a row or a column
depending on its GtkOrientation.
GtkCellAreaBox uses a notion of packing. Packing
refers to adding cell renderers with reference to a particular position
in a GtkCellAreaBox. There are two reference positions: the
start and the end of the box.
When the GtkCellAreaBox is oriented in the Orientation.VERTICAL
orientation, the start is defined as the top of the box and the end is
defined as the bottom. In the Orientation.HORIZONTAL orientation
start is defined as the left side and the end is defined as the right
side.
Alignments of GtkCellRenderers rendered in adjacent rows can be
configured by configuring the GtkCellAreaBox align child cell property
with gtk_cell_area_cell_set_property() or by specifying the "align"
argument to gtk_cell_area_box_pack_start() and gtk_cell_area_box_pack_end().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classCellAreaBox.Builder<B extends CellAreaBox.Builder<B>>Deprecated.Inner class implementing a builder pattern to construct a GObject with properties.Nested classes/interfaces inherited from class org.gnome.gtk.CellArea
CellArea.AddEditableCallback, CellArea.ApplyAttributesCallback, CellArea.CellArea$Impl, CellArea.CellAreaClass, CellArea.FocusChangedCallback, CellArea.RemoveEditableCallbackNested classes/interfaces inherited from class org.gnome.gobject.InitiallyUnowned
InitiallyUnowned.InitiallyUnownedClassNested classes/interfaces inherited from class org.gnome.gobject.GObject
GObject.NotifyCallback, GObject.ObjectClassNested classes/interfaces inherited from interface org.gnome.gtk.Buildable
Buildable.Buildable$Impl, Buildable.BuildableIfaceNested classes/interfaces inherited from interface org.gnome.gtk.CellLayout
CellLayout.CellLayout$Impl, CellLayout.CellLayoutIfaceNested classes/interfaces inherited from interface org.gnome.gtk.Orientable
Orientable.Orientable$Impl, Orientable.OrientableIface -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a new CellAreaBox.CellAreaBox(MemorySegment address) Deprecated.Create a CellAreaBox proxy instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionprotected CellAreaBoxasParent()Deprecated.Returns this instance as if it were its parent type.static CellAreaBox.Builder<? extends CellAreaBox.Builder> builder()Deprecated.ACellAreaBox.Builderobject constructs aCellAreaBoxwith the specified properties.intDeprecated.static @Nullable TypegetType()Deprecated.Get the GType of the CellAreaBox classvoidpackEnd(CellRenderer renderer, boolean expand, boolean align, boolean fixed) Deprecated.voidpackStart(CellRenderer renderer, boolean expand, boolean align, boolean fixed) Deprecated.voidsetSpacing(int spacing) Deprecated.Methods inherited from class org.gnome.gtk.CellArea
activate, activate, activateCell, activateCell, add, addFocusSibling, addWithProperties, applyAttributes, attributeConnect, attributeDisconnect, attributeGetColumn, cellGet, cellGetProperty, cellSet, cellSetProperty, copyContext, createContext, emitAddEditable, emitApplyAttributes, emitFocusChanged, emitRemoveEditable, event, event, focus, foreach, foreachAlloc, getCellAllocation, getCellAtPosition, getCellProperty, getCurrentPathString, getEditedCell, getEditWidget, getFocusCell, getFocusFromSibling, getFocusSiblings, getMemoryLayout, getPreferredHeight, getPreferredHeightForWidth, getPreferredWidth, getPreferredWidthForHeight, getRequestMode, hasRenderer, innerCellArea, isActivatable, isFocusSibling, onAddEditable, onApplyAttributes, onFocusChanged, onRemoveEditable, remove, removeFocusSibling, requestRenderer, setCellProperty, setFocusCell, snapshot, snapshot, stopEditingMethods inherited from class org.gnome.gobject.GObject
addToggleRef, addWeakPointer, bindProperty, bindProperty, bindProperty, bindPropertyFull, bindPropertyFull, bindPropertyWithClosures, bindPropertyWithClosures, compatControl, connect, connect, connect, constructed, disconnect, dispatchPropertiesChanged, dispose, dupData, dupQdata, emit, emitNotify, finalize_, forceFloating, freezeNotify, get, getData, getProperty, getProperty, getProperty, getQdata, getv, interfaceFindProperty, interfaceInstallProperty, interfaceListProperties, isFloating, newInstance, newInstance, newv, notify, notify, notifyByPspec, onNotify, ref, refSink, removeToggleRef, removeWeakPointer, replaceData, replaceQdata, runDispose, set, setData, setDataFull, setProperty, setProperty, setProperty, setQdata, setQdataFull, setv, stealData, stealQdata, takeRef, thawNotify, unref, watchClosure, weakRef, weakUnref, withPropertiesMethods inherited from class org.gnome.gobject.TypeInstance
callParent, callParent, cast, getPrivate, readGClass, writeGClassMethods inherited from class org.javagi.base.ProxyInstance
equals, handle, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.gnome.gtk.Buildable
getBuildableIdMethods inherited from interface org.gnome.gtk.CellLayout
addAttribute, clear, clearAttributes, getArea, getCells, packEnd, packStart, reorder, setAttributes, setCellDataFuncMethods inherited from interface org.gnome.gtk.Orientable
getOrientation, setOrientation
-
Constructor Details
-
CellAreaBox
Deprecated.Create a CellAreaBox proxy instance for the provided memory address.- Parameters:
address- the memory address of the native object
-
CellAreaBox
public CellAreaBox()Deprecated.Creates a new CellAreaBox.
-
-
Method Details
-
getType
Deprecated.Get the GType of the CellAreaBox class- Returns:
- the GType
-
asParent
Deprecated.Returns this instance as if it were its parent type. This is mostly synonymous to the Javasuperkeyword, but will set the native typeclass function pointers to the parent type. When overriding a native virtual method in Java, "chaining up" withsuper.methodName()doesn't work, because it invokes the overridden function pointer again. To chain up, callasParent().methodName(). This will call the native function pointer of this virtual method in the typeclass of the parent type. -
getSpacing
Deprecated.Gets the spacing added between cell renderers.- Returns:
- the space added between cell renderers in
box.
-
packEnd
@Deprecated public void packEnd(CellRenderer renderer, boolean expand, boolean align, boolean fixed) Deprecated.Addsrenderertobox,packed with reference to the end ofbox.The
rendereris packed after (away from end of) any otherGtkCellRendererpacked with reference to the end ofbox.- Parameters:
renderer- theGtkCellRendererto addexpand- whetherrenderershould receive extra space when the area receives more than its natural sizealign- whetherrenderershould be aligned in adjacent rowsfixed- whetherrenderershould have the same size in all rows
-
packStart
@Deprecated public void packStart(CellRenderer renderer, boolean expand, boolean align, boolean fixed) Deprecated.Addsrenderertobox,packed with reference to the start ofbox.The
rendereris packed after any otherGtkCellRendererpacked with reference to the start ofbox.- Parameters:
renderer- theGtkCellRendererto addexpand- whetherrenderershould receive extra space when the area receives more than its natural sizealign- whetherrenderershould be aligned in adjacent rowsfixed- whetherrenderershould have the same size in all rows
-
setSpacing
Deprecated.Sets the spacing to add between cell renderers inbox.- Parameters:
spacing- the space to add betweenGtkCellRenderers
-
builder
Deprecated.ACellAreaBox.Builderobject constructs aCellAreaBoxwith the specified properties. Use the variousset...()methods to set properties, and finish construction withCellAreaBox.Builder.build().- Returns:
- the builder object
-