"custom component" is a generic term for a manually developed UI component for a component based UI framework. When using JSF, please don't confuse this with "composite component", where the component is definied by XHTML using cc:xxx tags instead of by a Java class extending UIComponent.
Questions tagged [custom-component]
1083 questions
0
votes
1 answer
Using a javascript XPCOM component to create a custom autocomplete box in a FireFox add-on
I've spent a few days reading over all manner of tutorials, MDN entries, and S.O. posts, and I've come to suspect that I'm missing something obvious, but I'm too inexperienced with XPCOM to spot it. I'm about 80% sure there error is somewhere in my…

pieman72
- 836
- 8
- 14
0
votes
1 answer
Android custom SeekBar with two values
I need to create a custom SeekBar, which can show two different values. My idea is, that dragging the thumb will change background color of whole seek bar (first value) and there will also be a white horizontal line, which will show the second…

Komi
- 330
- 3
- 13
0
votes
2 answers
Check for either ADO.NET / OLEDB Connection presence and then insert to DB
I originally posted the question to check for presence of either ADO.NET/OLEDB connection types. That being resolved, I'd like to know, how to change the code when it comes to inserting to the DB.
For example, when the connection type is ADO.NET we…

rvphx
- 2,324
- 6
- 40
- 69
0
votes
1 answer
Best approach for customizing image with text on ios
I have a project to customize clothes ,let say a t-shirt, that have following features:
change colors.
add few lines of text ( <= 4) and change the font from a list.
add image or photo to the t-shirt.
rotate the t-shirt to custom back side.
rotate…

Red Mak
- 1,176
- 2
- 25
- 56
0
votes
1 answer
custom spinner null pointer exception
MySpinner.java
Below is my custom adapter
public class MyAdapter extends ArrayAdapter
{
public MyAdapter(Context context, int textViewResourceId,String[] objects)
{
super(context, textViewResourceId, objects);
// TODO…

Flake
- 1,386
- 17
- 31
0
votes
1 answer
How to make custom textual component?
How to make custom textual component in Java? I need to provide getPreferredSize() for it in which I should put the measuring of my textual construct. But I can't measure textual metrics without first obtaining Graphics. But I can't obtain Graphics…

Suzan Cioc
- 29,281
- 63
- 213
- 385
0
votes
2 answers
Objective-C: Using self.navigationController with a Custom UINavigationController
I have created a custom navigation controller which I call CatalogueNavigationController. This CatalogueNavigationController has a property called currentLevel which is of type int.
On one of my view controllers that are presented within this…

Dan Hanly
- 7,829
- 13
- 73
- 134
0
votes
1 answer
send custom settings for the component with the final application
i am working in Delphi-7 on a component that basically creates a zip file and has 5 features (below)
1] Folder
2] Images
3] text files
4] Create a Folder of the zip file in Application directory Or the application data directory
5] Create Zip file…

PresleyDias
- 3,657
- 6
- 36
- 62
0
votes
1 answer
How to diagnose "Cannot access package information" error in Delphi IDE
I am developing a set of TFrame-based components that inherit from one another (as so many who have helped me tremendously along the way already know!), and am running into yet another little "snag," related to packages and installation.
I have…

Jamo
- 3,238
- 6
- 40
- 66
0
votes
1 answer
How to deal with @string properties in custom component of android?
In layout xml file, I set properties using @string like this:
How to deal with…

hardPass
- 19,033
- 19
- 40
- 42
0
votes
1 answer
How to finish the Activity from Custom Component?
I want to finish the Activity from my custom component.
Question is how to get the reference of the Activity from my custom component?
All I can get is Context in custom component.
I tried to convert Context to Activity (code is below), and it…

hardPass
- 19,033
- 19
- 40
- 42
0
votes
2 answers
UIView subclass is not visible
I'm a creating a subclass of UIView (MultiColumnTableView) which will hold a couple of table views. However, when I add my custom view as a subview to the view controller it is never visible, and I really can't figure out why?
I'm adding it with…

Accatyyc
- 5,798
- 4
- 36
- 51
0
votes
0 answers
Android: Graphic slider index
I need to make a slider index like this:
(In this case it's indicating that the current index is 3).
Since it doesn't seem to be a finished solution, I have to make a custom one.
2 Possibilites come to my mind:
Create a custom component and…

User
- 31,811
- 40
- 131
- 232
0
votes
1 answer
Android, How to bring selected custom view in the middle of screen?
Hi,
As you can see in above image, I created a custom view as as item of my calendar.
In code i have repeat it for example 50 times to create calendar.
Server sends me a flag that shows which of them should be selected (in this case 09 Jun is…

Hesam
- 52,260
- 74
- 224
- 365
0
votes
1 answer
how to implement custom widget in sencha?
I am planning to implement the custom widget in sencha as shown in the image.
Does any body have any ideas on how to implement it? Any clues will be very helpful.
Thank you

Gendaful
- 5,522
- 11
- 57
- 76