Liking cljdoc? Tell your friends :D

javax.swing.text.FlowView$FlowStrategy

Strategy for maintaining the physical form of the flow. The default implementation is completely stateless, and recalculates the entire flow if the layout is invalid on the given FlowView. Alternative strategies can be implemented by subclassing, and might perform incremental repair to the layout or alternative breaking behavior.

Strategy for maintaining the physical form
of the flow.  The default implementation is
completely stateless, and recalculates the
entire flow if the layout is invalid on the
given FlowView.  Alternative strategies can
be implemented by subclassing, and might
perform incremental repair to the layout
or alternative breaking behavior.
raw docstring

->flow-strategyclj

(->flow-strategy)

Constructor.

Constructor.
raw docstring

changed-updateclj

(changed-update this fv e alloc)

Gives notification from the document that attributes were changed in a location that this view is responsible for.

fv - the FlowView containing the changes - javax.swing.text.FlowView e - the DocumentEvent describing the changes done to the Document - javax.swing.event.DocumentEvent alloc - Bounds of the View - java.awt.Rectangle

Gives notification from the document that attributes were changed
 in a location that this view is responsible for.

fv - the FlowView containing the changes - `javax.swing.text.FlowView`
e - the DocumentEvent describing the changes done to the Document - `javax.swing.event.DocumentEvent`
alloc - Bounds of the View - `java.awt.Rectangle`
raw docstring

insert-updateclj

(insert-update this fv e alloc)

Gives notification that something was inserted into the document in a location that the given flow view is responsible for. The strategy should update the appropriate changed region (which depends upon the strategy used for repair).

fv - javax.swing.text.FlowView e - the change information from the associated document - javax.swing.event.DocumentEvent alloc - the current allocation of the view inside of the insets. This value will be null if the view has not yet been displayed. - java.awt.Rectangle

Gives notification that something was inserted into the document
 in a location that the given flow view is responsible for.  The
 strategy should update the appropriate changed region (which
 depends upon the strategy used for repair).

fv - `javax.swing.text.FlowView`
e - the change information from the associated document - `javax.swing.event.DocumentEvent`
alloc - the current allocation of the view inside of the insets. This value will be null if the view has not yet been displayed. - `java.awt.Rectangle`
raw docstring

layoutclj

(layout this fv)

Update the flow on the given FlowView. By default, this causes all of the rows (child views) to be rebuilt to match the given constraints for each row. This is called by a FlowView.layout to update the child views in the flow.

fv - the view to reflow - javax.swing.text.FlowView

Update the flow on the given FlowView.  By default, this causes
 all of the rows (child views) to be rebuilt to match the given
 constraints for each row.  This is called by a FlowView.layout
 to update the child views in the flow.

fv - the view to reflow - `javax.swing.text.FlowView`
raw docstring

remove-updateclj

(remove-update this fv e alloc)

Gives notification that something was removed from the document in a location that the given flow view is responsible for.

fv - javax.swing.text.FlowView e - the change information from the associated document - javax.swing.event.DocumentEvent alloc - the current allocation of the view inside of the insets. - java.awt.Rectangle

Gives notification that something was removed from the document
 in a location that the given flow view is responsible for.

fv - `javax.swing.text.FlowView`
e - the change information from the associated document - `javax.swing.event.DocumentEvent`
alloc - the current allocation of the view inside of the insets. - `java.awt.Rectangle`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close