Logo Search packages:      
Sourcecode: libjgoodies-forms-java version File versions  Download package

CellConstraints com::jgoodies::forms::layout::CellConstraints::xy ( int  col,
int  row 
) [inline]

Sets row and column origins; sets width and height to 1; uses the default alignments.

Examples:

 cc.xy(1, 1);
 cc.xy(1, 3);
 

Parameters:
col the new column index
row the new row index
Returns:
this

Definition at line 350 of file CellConstraints.java.

References xywh().

Referenced by com::jgoodies::forms::tutorial::basics::SpanExample::buildColumnSpanExample(), com::jgoodies::forms::tutorial::basics::ComponentSizesExample::buildCombinedPanel(), com::jgoodies::forms::tutorial::building::DefaultFormWithCustomAreasExample::buildCustomAreaWithTopLabelPanel(), com::jgoodies::forms::tutorial::basics::BoundedSizesExample::buildEditorGeneralPanel(), com::jgoodies::forms::tutorial::basics::BoundedSizesExample::buildEditorTransportPanel(), com::jgoodies::forms::tutorial::QuickStartExample::buildPanel(), com::jgoodies::forms::tutorial::pitfalls::VerticalGrowthExample::buildPanel(), com::jgoodies::forms::tutorial::building::RowCounterExample::buildPanel(), com::jgoodies::forms::tutorial::building::PlainExample::buildPanel(), com::jgoodies::forms::tutorial::building::PanelBuilderExample::buildPanel(), com::jgoodies::forms::tutorial::building::DefaultFormWithCustomRowsExample::buildPanel(), com::jgoodies::forms::tutorial::basics::SpanExample::buildRowSpanExample(), com::jgoodies::forms::layout::SerializationTest::createSamplePanel(), com::jgoodies::forms::layout::FormLayoutTest::testBoundedHeight(), com::jgoodies::forms::layout::FormLayoutTest::testBoundedWidth(), com::jgoodies::forms::layout::FormLayoutTest::testExtraExpansionHonorsCurrentMeasure(), com::jgoodies::forms::layout::FormLayoutTest::testExtraExpansionIfSpannedColumnsGrow(), com::jgoodies::forms::layout::FormLayoutTest::testHorizontalAlignments(), com::jgoodies::forms::layout::FormLayoutTest::testNoExtraExpansionIfAllColumnsAreFixed(), com::jgoodies::forms::layout::FormLayoutTest::testNoExtraExpansionIfSpannedColumnsAreFixed(), com::jgoodies::forms::layout::CellConstraintsTest::testRejectInvalidCellConstraintsAlignments(), and com::jgoodies::forms::layout::FormLayoutTest::testVerticalAlignments().

                                                {
        return xywh(col, row, 1, 1);
    }


Generated by  Doxygen 1.6.0   Back to index