int function ( Object arg0 ) { if ( arg0 instanceof Component ) { return this . name . compareToIgnoreCase ( ( ( Component ) arg0 ) . name ) ; } return 1 ; }
compares 2 components by name . useful for example to display components in alphabetic order . concode_field_sep library.LogicalPart logical_part concode_elem_sep int no concode_elem_sep boolean on_front concode_elem_sep String name concode_elem_sep boolean position_fixed concode_elem_sep Point location concode_elem_sep Package lib_package_back concode_elem_sep Package lib_package_front concode_elem_sep double rotation_in_degree concode_field_sep void rotate concode_elem_sep void print_info concode_elem_sep void change_side concode_elem_sep Package get_package concode_elem_sep Point get_location concode_elem_sep double get_rotation_in_degree concode_elem_sep boolean is_placed concode_elem_sep library.LogicalPart get_logical_part concode_elem_sep Component clone concode_elem_sep void translate_by concode_elem_sep String toString concode_elem_sep boolean placed_on_front concode_elem_sep void set_logical_part concode_elem_sep void turn_90_degree